Skip to content

Commit 8829bdc

Browse files
authored
Update utils.test.js
1 parent 2eb5d50 commit 8829bdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/utils.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ describe('isSelfIntersecting', () => {
8888
expect(BuildingShapeUtils.isSelfIntersecting(xml)).toBe(expected);
8989
});
9090
});
91+
92+
test('Center', () => {
93+
expect(BuildingShapeUtils.center(rightTriangle)).toStrictEqual([0, 0]);
94+
});

0 commit comments

Comments
 (0)