Skip to content

ZA | ITP-May | Praise Magidi | Sprint-3 | Module-Structuring-and-Testing-Data #592

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

Open
wants to merge 11 commits into
base: to-be-deleted-coursework/sprint-3
Choose a base branch
from

Conversation

Praise88
Copy link

@Praise88 Praise88 commented Jun 22, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@Praise88 Praise88 added the Needs Review Participant to add when requesting review label Jun 22, 2025
@Praise88 Praise88 force-pushed the coursework/sprint-3 branch from a5eef2b to bb018c0 Compare June 24, 2025 18:39
@@ -43,14 +47,19 @@ 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);
assertEquals(obtuse, "Acute angle");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should say Obtuse not acute

// ====> write your test here, and then add a line to pass the test in the function above
const reflex = getAngleType(250);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

245 not 250

@@ -9,6 +9,10 @@

function getAngleType(angle) {
if (angle === 90) return "Right angle";
if (angle < 90) return "Acute angle";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the angles are less than 0?

@Waldo-Strydom Waldo-Strydom added Reviewed Volunteer to add when completing a review Complete Volunteer to add when work is complete and review comments have been addressed and removed Needs Review Participant to add when requesting review labels Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complete Volunteer to add when work is complete and review comments have been addressed Reviewed Volunteer to add when completing a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants