Skip to content

Commit 89a70f9

Browse files
authored
Update utils.test.js
1 parent edb1bf6 commit 89a70f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/utils.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ test('Vertex Angles', () => {
102102
});
103103

104104
const rightTriangle2 = new Shape();
105-
rightTriangle.moveTo(1, 1);
106-
rightTriangle.lineTo(-1, 1);
107-
rightTriangle.lineTo(1, -1);
105+
rightTriangle2.moveTo(1, 1);
106+
rightTriangle2.lineTo(-1, 1);
107+
rightTriangle2.lineTo(1, -1);
108108
test('Vertex Angles counterclockwise', () => {
109109
expect(BuildingShapeUtils.vertexAngle(rightTriangle2)).toStrictEqual([-Math.PI / 2, -Math.PI / 4, -Math.PI / 4]);
110110
});

0 commit comments

Comments
 (0)