We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8829bdc commit 6388b1dCopy full SHA for 6388b1d
test/utils.test.js
@@ -92,3 +92,11 @@ describe('isSelfIntersecting', () => {
92
test('Center', () => {
93
expect(BuildingShapeUtils.center(rightTriangle)).toStrictEqual([0, 0]);
94
});
95
+
96
+test('Get Width', () => {
97
+ expect(BuildingShapeUtils.getWidth(rightTriangle)).toBe(2);
98
+});
99
100
+test('Vertex Angles', () => {
101
+ expect(BuildingShapeUtils.vertexAngle(rightTriangle)).toStrictEqual([Math.PI / 2, Math.PI / 4, Math.PI / 4]);
102
0 commit comments