Skip to content

Commit ef2efd4

Browse files
authored
Update gabledroofbug.test.js
1 parent 00f011c commit ef2efd4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/gabledroofbug.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ beforeEach(() => {
3838
test('Constructor', () => {
3939
const bldg = new Building('31361386', data);
4040
expect(bldg.parts.length).toBe(1);
41+
const part = bldg.parts[0];
42+
const meshes = part.render();
43+
const roofmesh = meshes[0];
44+
const roofGeometry = roofmesh.geometry;
45+
expect(roofGeometry.constructor.name).toBe('WedgeGeometry');
4146
});
4247

4348
window.printError = printError;

0 commit comments

Comments
 (0)