Skip to content

Commit 8e6a64c

Browse files
committed
Formatted the code
1 parent cc3d083 commit 8e6a64c

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ test(`should return "Acute angle" when (0 < angle < 90)`, () => {
1313
expect(getAngleType(89)).toEqual("Acute angle");
1414
});
1515

16-
1716
// Case 2: Right angle
1817
test(`should return "Right angle" when ( angle = 90)`, () => {
1918
// Test various right angles, including boundary cases
2019
expect(getAngleType(90)).toEqual("Right angle");
21-
2220
});
2321

24-
2522
// Case 3: Obtuse angles
2623
test(`should return "Obtuse angle" when (90 < angle < 180)`, () => {
2724
// Test various obtuse angles, including boundary cases
@@ -30,14 +27,12 @@ test(`should return "Obtuse angle" when (90 < angle < 180)`, () => {
3027
expect(getAngleType(179)).toEqual("Obtuse angle");
3128
});
3229

33-
3430
// Case 4: Straight angle
3531
test(`should return "Straight angle" when ( angle = 180)`, () => {
3632
// Test various straight angles, including boundary cases
3733
expect(getAngleType(180)).toEqual("Straight angle");
3834
});
3935

40-
4136
// Case 5: Reflex angles
4237
test(`should return "Reflex angle" when (180 < angle < 360)`, () => {
4338
// Test various reflex angles, including boundary cases
@@ -46,7 +41,6 @@ test(`should return "Reflex angle" when (180 < angle < 360)`, () => {
4641
expect(getAngleType(359)).toEqual("Reflex angle");
4742
});
4843

49-
5044
// Case 6: Invalid angles
5145
test(`should return "Invalid angle" when (180 < angle < 360)`, () => {
5246
// Test various invalid angles, including boundary cases

0 commit comments

Comments
 (0)