Skip to content

Commit e81737d

Browse files
authored
Update utils.test.js
1 parent d8668c0 commit e81737d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/utils.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ test('Edge Direction2', () => {
8080
});
8181

8282
test('Longest side angle', () => {
83-
// A three.Shape object does not repeat the fist and last nodes.
84-
expect(rightTriangle.extractPoints().shape.length).toBe(3);
85-
expect(BuildingShapeUtils.longestSideAngle(rightTriangle)).toBe(-Math.PI / 4);
83+
expect(BuildingShapeUtils.longestSideAngle(rightTriangle)).toBe(3 * Math.PI / 4);
8684
});
8785

8886
describe.each([

0 commit comments

Comments
 (0)