Skip to content

Commit 154071d

Browse files
committed
Resolved merge conflicts with main updated Sprint-3 structure.
1 parent 7490201 commit 154071d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88
// Then, write the next test! :) Go through this process until all the cases are implemented
99

1010
function getAngleType(angle) {
11-
<<<<<<<< HEAD:Sprint-3/implement/1-get-angle-type.js
11+
1212
if (angle === 90) return "Right angle";
1313
if (angle < 90) return "Acute angle";
1414
if (angle > 90 && angle < 180) return "Obtuse angle";
1515
if (angle === 180) return "Straight angle";
1616
if (angle > 180 && angle < 360) return "Reflex angle";
1717

1818
// read to the end, complete line 36, then pass your test here
19-
========
19+
2020
if (angle === 90) {
2121
return "Right angle";
2222
}
2323
// Run the tests, work out what Case 2 is testing, and implement the required code here.
2424
// Then keep going for the other cases, one at a time.
25-
>>>>>>>> main:Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js
25+
2626
}
2727

2828
// The line below allows us to load the getAngleType function into tests in other files.

0 commit comments

Comments
 (0)