You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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.
48
60
constnegativeFraction=isProperFraction(-4,7);
61
+
assertEquals(negativeFraction,true)
49
62
// ====> complete with your assertion
50
63
51
64
// Equal Numerator and Denominator check:
52
65
// Input: numerator = 3, denominator = 3
53
66
// target output: false
54
67
// Explanation: The fraction 3/3 is not a proper fraction because the numerator is equal to the denominator. The function should return false.
0 commit comments