@@ -9,28 +9,18 @@ test("should identify right angle (90°)", () => {
99// REPLACE the comments with the tests
1010// make your test descriptions as clear and readable as possible
1111
12- // Case 2: Identify Acute Angles:
13- // When the angle is less than 90 degrees,
14- // Then the function should return "Acute angle"
1512test ( "should identify Acute angle (less than 90°)" , ( ) => {
1613 expect ( getAngleType ( 80 ) ) . toEqual ( "Acute angle" ) ;
1714} ) ;
1815
19- // Case 3: Identify Obtuse Angles:
20- // When the angle is greater than 90 degrees and less than 180 degrees,
21- // Then the function should return "Obtuse angle"
2216test ( "should identify Obtuse angle (greater than 90° and less than 180 )" , ( ) => {
2317 expect ( getAngleType ( 100 ) ) . toEqual ( "Obtuse angle" ) ;
2418} ) ;
25- // Case 4: Identify Straight Angles:
26- // When the angle is exactly 180 degrees,
27- // Then the function should return "Straight angle"
19+
2820test ( "should identify Straight angle (180°)" , ( ) => {
2921 expect ( getAngleType ( 180 ) ) . toEqual ( "Straight angle" ) ;
3022} ) ;
31- // Case 5: Identify Reflex Angles:
32- // When the angle is greater than 180 degrees and less than 360 degrees,
33- // Then the function should return "Reflex angle"
23+
3424test ( "should identify Reflex angle (greater than 180° and less than 360°)" , ( ) => {
3525 expect ( getAngleType ( 181 ) ) . toEqual ( "Reflex angle" ) ;
3626} ) ;
0 commit comments