File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Sprint-3/1-implement-and-rewrite-tests/implement Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,18 @@ assertEquals(acute, "Acute angle");
6363// Then the function should return "Obtuse angle"
6464const obtuse = getAngleType ( 120 ) ;
6565// ====> write your test here, and then add a line to pass the test in the function above
66+ assertEquals ( obtuse , "Obtuse angle" ) ;
6667
6768// Case 4: Identify Straight Angles:
6869// When the angle is exactly 180 degrees,
6970// Then the function should return "Straight angle"
7071// ====> write your test here, and then add a line to pass the test in the function above
72+ const straight = getAngleType ( 180 ) ;
73+ assertEquals ( straight , "Straight angle/line" ) ;
7174
7275// Case 5: Identify Reflex Angles:
7376// When the angle is greater than 180 degrees and less than 360 degrees,
7477// Then the function should return "Reflex angle"
75- // ====> write your test here, and then add a line to pass the test in the function above
78+ // ====> write your test here, and then add a line to pass the test in the function above
79+ const reflex = getAngleType ( 270 ) ;
80+ assertEquals ( reflex , "Reflex angle" ) ;
You can’t perform that action at this time.
0 commit comments