-
-
Notifications
You must be signed in to change notification settings - Fork 118
ITP JAN 2025 LONDON| ELFREDAH KEVIN-ALERECHI| Module-Structuring-and-Testing-Data | Sprint 3 #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@@ -43,14 +43,17 @@ assertEquals(acute, "Acute angle"); | |||
// When the angle is greater than 90 degrees and less than 180 degrees, | |||
// Then the function should return "Obtuse angle" | |||
const obtuse = getAngleType(120); | |||
// ====> write your test here, and then add a line to pass the test in the function above | |||
// ====> const obtuse = getAngleType(120); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the test cover angles greater that 90 degrees and and less than 180 degrees?
// ====> const straight = getAngleType(180); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the test cover angles greater that 180 degrees and less than 360 degrees.
@@ -40,14 +40,33 @@ assertEquals(improperFraction, false); | |||
// target output: true | |||
// Explanation: The fraction -4/7 is a proper fraction because the absolute value of the numerator (4) is less than the denominator (7). The function should return true. | |||
const negativeFraction = isProperFraction(-4, 7); | |||
// ====> complete with your assertion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is incomplete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some comment on what this countChar function is doing?
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.