def test_fib_number_F_100(self): fibs = Question_3.get_first_100_fibs() # 100th Fibonacci is this according to http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibCalcX.html self.assertEqual(218922995834555169026, fibs[-1])
def test_fib_number_F_10(self): fibs = Question_3.get_first_100_fibs() self.assertEqual(34, fibs[9])