Skip to content

Commit

Permalink
Update buildingpart.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy authored Jul 17, 2024
1 parent 4666624 commit b731728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/buildingpart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import { BuildingPart } from '../src/buildingpart.js';

test('Test Cardinal to Degree', () => {
expect(BuildingPart.cardinalToDegree('N')).toBe(0);
expect(BuildingPart.cardinalToDegree('sSw')).toBe(202);
expect(BuildingPart.cardinalToDegree('Wse')).toBeUndefined();
});

0 comments on commit b731728

Please sign in to comment.