Skip to content

Commit 588d1f9

Browse files
authored
Update diagnose.test.js
1 parent e34d289 commit 588d1f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/diagnose.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,12 @@ test('Diagnose Skillion Issue', async() => {
23772377
if (part.id === '1280622582'){
23782378
const shape = part.shape;
23792379
const points = shape.extractPoints().shape;
2380+
const options = {
2381+
angle: (360 - part.options.roof.direction) / 360 * 2 * Math.PI,
2382+
depth: part.options.roof.height,
2383+
pitch: part.options.roof.angle / 180 * Math.PI,
2384+
};
2385+
expect(options).toBe({});
23802386
expect(points).toBe([]);
23812387
//expect(shape.toJSON()).toBe('');
23822388
}

0 commit comments

Comments
 (0)