@@ -12,24 +12,15 @@ test("should identify right angle (90°)", () => {
1212// Case 2: Identify Acute Angles:
1313// When the angle is less than 90 degrees,
1414// Then the function should return "Acute angle"
15- test ( "should identify acute angle (<90°)" , ( ) => {
16- expect ( getAngleType ( 45 ) ) . toEqual ( "Acute angle" ) ;
17- } ) ;
15+
1816// Case 3: Identify Obtuse Angles:
1917// When the angle is greater than 90 degrees and less than 180 degrees,
2018// Then the function should return "Obtuse angle"
21- test ( "should identify obtuse angle (90°<angle<180°)" , ( ) => {
22- expect ( getAngleType ( 120 ) ) . toEqual ( "Obtuse angle" ) ;
23- } ) ;
19+
2420// Case 4: Identify Straight Angles:
2521// When the angle is exactly 180 degrees,
2622// Then the function should return "Straight angle"
27- test ( "should identify straight angle (180°)" , ( ) => {
28- expect ( getAngleType ( 180 ) ) . toEqual ( "Straight angle" ) ;
29- } ) ;
23+
3024// Case 5: Identify Reflex Angles:
3125// When the angle is greater than 180 degrees and less than 360 degrees,
3226// Then the function should return "Reflex angle"
33- test ( "should identify reflex angle (180°<angle<360°)" , ( ) => {
34- expect ( getAngleType ( 270 ) ) . toEqual ( "Reflex angle" ) ;
35- } ) ;
0 commit comments