File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Sprint-3/1-implement-and-rewrite-tests/implement Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 88// Then, write the next test! :) Go through this process until all the cases are implemented
99
1010function getAngleType ( angle ) {
11- < << << << HEAD :Sprint-3 / 1 - key - implement / 1 - get - angle - type . js
1211 if ( angle === 90 ) return "Right angle" ;
1312 if ( angle < 90 ) return "Acute angle" ;
1413 if ( angle > 90 && angle < 180 ) return "Obtuse angle" ;
1514 if ( angle === 180 ) return "Straight angle" ;
1615 if ( angle > 180 && angle < 360 ) return "Reflex angle" ;
17- = === ===
18- if ( angle === 90 ) {
19- return "Right angle" ;
20- }
21- // Run the tests, work out what Case 2 is testing, and implement the required code here.
22- // Then keep going for the other cases, one at a time.
23- > >>> >>> 8 f3d6cf2d1733da02a010f1a16c46b8b5ab4c491:Sprint - 3 / 1 - implement - and - rewrite - tests / implement / 1 - get - angle - type . js
2416}
2517
2618// The line below allows us to load the getAngleType function into tests in other files.
You can’t perform that action at this time.
0 commit comments