-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove Extra 'round' Roof Type * Remove extranious round roof from list; add cardinal directions to roofs; removing warning of direction=0 for skillion roofs * Update main.yml * Extraneous round roof (#64) * Remove Extra 'round' Roof Type * Remove extranious round roof from list; add cardinal directions to roofs; removing warning of direction=0 for skillion roofs * Update main.yml --------- Co-authored-by: Justin Ormont <[email protected]> * added lang to html tag
- Loading branch information
Showing
5 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: CI | ||
on: push | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
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(); | ||
}); |