Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ function assertEquals(actualOutput, targetOutput) {
}

// TODO: Write tests to cover all cases, including boundary and invalid cases.
// Example: Identify Right Angles
// Example: Identify Right Angles.
const right = getAngleType(90);
assertEquals(right, "Right angle");
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ function assertEquals(actualOutput, targetOutput) {
// TODO: Write tests to cover all cases.
// What combinations of numerators and denominators should you test?

// Example: 1/2 is a proper fraction
// Example: 1/2 is a proper fraction.
assertEquals(isProperFraction(1, 2), true);
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ assertEquals(getCardValue("9♠"), 9);
try {
getCardValue("invalid");

// This line will not be reached if an error is thrown as expected
// This line will not be reached if an error is thrown as expected.
console.error("Error was not thrown for invalid card");
} catch (e) {}

Expand Down
Loading