Skip to content

Commit a63cfca

Browse files
committed
test: cover negative fib numbers
1 parent 9588ce9 commit a63cfca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kata/3-kyu/the-millionth-fibonacci-kata/test/FibonacciTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class FibonacciTest {
1313
3, 2
1414
4, 3
1515
5, 5
16+
-6, -8
1617
""")
1718
void sample(BigInteger input, BigInteger expected) {
1819
assertEquals(expected, Fibonacci.fib(input));

0 commit comments

Comments
 (0)