We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfff323 commit b3b5952Copy full SHA for b3b5952
Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js
@@ -27,6 +27,8 @@ function getAngleType(angle) {
27
// Case 5: Reflex angle
28
else if (angle > 180 && angle < 360) {
29
return "Reflex angle";
30
+ } else {
31
+ return "Invalid angle";// added to handle angles not in the specified range for Example -1 or 500
32
}
33
34
// The line below allows us to load the getAngleType function into tests in other files.
0 commit comments