Added a place holder n for the number...numbers can't be null.
Both Assertions for 0 and 1 pass
Refactored to remove duplication in the asserts
Added another test case, {2, 1}, test failed...I need to restructure the Function
Awesome...test passed
Taking 2 steps at this time since 1 will never equal 2 but 1 = 2-1 and 2 = 3-1, so I need to change the return statement to subtract 1 from n
yep...that did the trick...test passed
Added 4, 3 and 5,5 to test and sure enough, test failed
That did the trick, as soon as I initialized the variable and was able to compile the code.
Function is complete and will calculate all Fibonacci Numbers