Skip to content

Commit 20234ea

Browse files
authored
Update buildingpart.test.js
1 parent 5953233 commit 20234ea

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
@@ -61,7 +61,7 @@ test('Constructor', () => {
6161
expect(part.options.roof.orientation).toBe('along');
6262

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

0 commit comments

Comments
 (0)