Skip to content

Commit 2d60a0f

Browse files
author
russom
committed
Branch updated
1 parent c466f3f commit 2d60a0f

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ function assertEquals(actualOutput, targetOutput) {
3434
// TODO: Write tests to cover all cases, including boundary and invalid cases.
3535
// Example: Identify Right Angles
3636
const right = getAngleType(90);
37-
assertEquals(right, "Right angle");
37+
assertEquals(right, "Right angle");

Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ function assertEquals(actualOutput, targetOutput) {
3030
// What combinations of numerators and denominators should you test?
3131

3232
// Example: 1/2 is a proper fraction
33-
assertEquals(isProperFraction(1, 2), true);
33+
assertEquals(isProperFraction(1, 2), true);

Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ try {
5151
console.log("Error thrown for invalid card 🎉");
5252
}
5353

54-
// What other invalid card cases can you think of?
54+
// What other invalid card cases can you think of?

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ test(`should return "Acute angle" when (0 < angle < 90)`, () => {
1717
// Case 3: Obtuse angles
1818
// Case 4: Straight angle
1919
// Case 5: Reflex angles
20-
// Case 6: Invalid angles
20+
// Case 6: Invalid angles

Sprint-3/1-implement-and-rewrite-tests/rewrite-tests-with-jest/2-is-proper-fraction.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ const isProperFraction = require("../implement/2-is-proper-fraction");
77
// Special case: numerator is zero
88
test(`should return false when denominator is zero`, () => {
99
expect(isProperFraction(1, 0)).toEqual(false);
10-
});
10+
});

0 commit comments

Comments
 (0)