Skip to content

Commit f5ac24d

Browse files
authored
Update buildingpart.test.js
#149
1 parent 460afb5 commit f5ac24d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/buildingpart.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ test('Constructor', () => {
6767
expect(errors.length).toBe(0);
6868
});
6969

70+
test('Normalize Length', () => {
71+
expect(BuildingPart.normalizeLength('5km')).toBe(5000);
72+
});
73+
7074
window.printError = printError;
7175

7276
var errors = [];

0 commit comments

Comments
 (0)