Skip to content

Commit 14f8b6a

Browse files
committed
Fix the tests request
1 parent ddf435d commit 14f8b6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maths/binomial_coefficient.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ def binomial_coefficient(n: int, r: int) -> int:
88
:param r: The number of items to choose.
99
:return: The binomial coefficient C(n, r).
1010
11-
>>> binomial_coefficient(10, 5)
11+
>>> binomial_coefficient(10, 5) #TODO: Fix this test
1212
252
13-
>>> binomial_coefficient(5, 2)
13+
>>> binomial_coefficient(5, 2) #TODO: Fix this test
1414
10
1515
>>> binomial_coefficient(10, 0)
1616
1
17-
>>> binomial_coefficient(10, 10)
17+
>>> binomial_coefficient(10, 10) #TODO: Fix this test
1818
1
1919
>>> binomial_coefficient(5, 6) # This should raise a ValueError
2020
Traceback (most recent call last):

0 commit comments

Comments
 (0)