Skip to content

Commit 3b2ea65

Browse files
authored
Merge branch 'main' into dev
2 parents 7184a65 + 872168a commit 3b2ea65

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/utils.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ rectangle.lineTo(-4.332738077015795, 5.88221335051411);
127127
rectangle.lineTo(4.332747472106493, 5.88221335051411);
128128
rectangle.lineTo(4.332747472106493, -5.882209888874915);
129129

130+
const rectangle = new Shape();
131+
rectangle.moveTo(-4.332738077015795, -5.882209888874915);
132+
rectangle.lineTo(-4.332738077015795, 5.88221335051411);
133+
rectangle.lineTo(4.332747472106493, 5.88221335051411);
134+
rectangle.lineTo(4.332747472106493, -5.882209888874915);
135+
rectangle.lineTo(-4.332738077015795, -5.882209888874915);
136+
130137
test('Extents no Rotation', () => {
131138
expect(BuildingShapeUtils.extents(rightTriangle)).toStrictEqual([-1, -1, 1, 1]);
132139
});

0 commit comments

Comments
 (0)