Overhaul custom shapes for p5.js 2.0 #5261
Annotations
10 errors and 1 warning
build and test:
test/unit/webgl/p5.RendererGL.js#L644
AssertionError: expected [ 200, 200, 200, 255, 200, …(9995) ] to deeply equal [ 200, 200, 200, 255, 200, …(9995) ]
- Expected
+ Received
Array [
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
200,
255,
200,
200,
2
|
build and test:
test/unit/webgl/p5.RendererGL.js#L1702
AssertionError: expected [ -1, +0, 1 ] to deeply equal [ -1, -1, 1 ]
- Expected
+ Received
Array [
-1,
- -1,
+ 0,
1,
]
❯ test/unit/webgl/p5.RendererGL.js:1702:14
|
build and test:
test/unit/webgl/p5.RendererGL.js#L1764
AssertionError: expected [ 1, 1, 1, 1, 1, +0, +0, 1, +0, …(11) ] to deeply equal [ 1, 1, 1, 1, 1, +0, +0, 1, +0, …(7) ]
- Expected
+ Received
Array [
1,
1,
1,
1,
1,
0,
0,
1,
0,
1,
0,
1,
0,
0,
1,
1,
+ 0,
+ 0,
+ 1,
+ 1,
]
❯ test/unit/webgl/p5.RendererGL.js:1764:14
|
build and test:
test/unit/webgl/p5.RendererGL.js#L1787
AssertionError: expected [ Array(12) ] to deeply equal [ +0, +0, 1, +0, 1, 1, +0, 1 ]
- Expected
+ Received
Array [
+ 1,
0,
0,
1,
+ 0,
+ 0,
0,
1,
1,
0,
+ 1,
1,
]
❯ test/unit/webgl/p5.RendererGL.js:1787:14
|
build and test:
test/unit/webgl/p5.RendererGL.js#L1851
AssertionError: expected [ +0, 0.25, 1 ] to deeply equal [ +0, +0, 1 ]
- Expected
+ Received
Array [
0,
- 0,
+ 0.25,
1,
]
❯ test/unit/webgl/p5.RendererGL.js:1851:14
|
build and test:
test/unit/webgl/p5.RendererGL.js#L1969
AssertionError: expected [ 255, 64, 64, 255 ] to deeply equal [ 255, 129, 129, 255 ]
- Expected
+ Received
Array [
255,
- 129,
- 129,
+ 64,
+ 64,
255,
]
❯ test/unit/webgl/p5.RendererGL.js:1969:14
|
build and test:
src/shape/custom_shapes.js#L612
TypeError: Cannot read properties of null (reading 'array')
❯ Shape.serializeToArray src/shape/custom_shapes.js:612:20
❯ Shape.vertexToArray src/shape/custom_shapes.js:625:26
❯ src/shape/custom_shapes.js:1190:37
❯ PrimitiveToVerticesConverter.visitBezierSegment src/shape/custom_shapes.js:1190:7
❯ BezierSegment.accept src/shape/custom_shapes.js:268:13
❯ Contour.accept src/shape/custom_shapes.js:171:17
❯ Shape.accept src/shape/custom_shapes.js:960:15
❯ RendererGL.drawShape src/webgl/p5.RendererGL.js:512:11
❯ RendererGL.endShape src/core/p5.Renderer.js:171:10
|
build and test:
test/js/chai_helpers.js#L10
AssertionError: expected 85 to be close to 128 +/- 10
❯ assert.arrayApproximately test/js/chai_helpers.js:10:12
❯ test/unit/webgl/p5.RendererGL.js:2005:14
|
build and test:
src/shape/custom_shapes.js#L612
TypeError: Cannot read properties of null (reading 'array')
❯ Shape.serializeToArray src/shape/custom_shapes.js:612:20
❯ Shape.vertexToArray src/shape/custom_shapes.js:625:26
❯ src/shape/custom_shapes.js:1190:37
❯ PrimitiveToVerticesConverter.visitBezierSegment src/shape/custom_shapes.js:1190:7
❯ BezierSegment.accept src/shape/custom_shapes.js:268:13
❯ Contour.accept src/shape/custom_shapes.js:171:17
❯ Shape.accept src/shape/custom_shapes.js:960:15
❯ RendererGL.drawShape src/webgl/p5.RendererGL.js:512:11
❯ RendererGL.endShape src/core/p5.Renderer.js:171:10
|
build and test:
test/unit/webgl/p5.RendererGL.js#L2346
AssertionError: expected [ +0, +0, +0, 255 ] to deeply equal [ 255, +0, +0, 255 ]
- Expected
+ Received
Array [
- 255,
+ 0,
0,
0,
255,
]
❯ test/unit/webgl/p5.RendererGL.js:2346:16
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading