Skip to content

Commit 94fe6d7

Browse files
authored
Update buildingpart.test.js
1 parent f23ff08 commit 94fe6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/buildingpart.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ test('Constructor', () => {
6262

6363
// toDo: Mock BuildingShapeUtils and test options
6464
expect(BuildingShapeUtils.edgeDirection(part.shape)).toStrictEqual([1.5707963267948966, 0, -1.5707963267948966, 3.141592653589793]);
65-
expect(BuildingShapeUtils.longestSideAngle(part.shape)).toBe(0);
65+
expect(BuildingShapeUtils.longestSideAngle(part.shape)).toBe(1.5707963267948966);
6666
expect(part.options.roof.direction).toBe(90);
6767
expect(errors.length).toBe(0);
6868
});

0 commit comments

Comments
 (0)