def test_with_20(self): num = 20 result = 6765 self.assertEqual(fib_tab(num), result)
def test_with_2(self): num = 2 result = 1 self.assertEqual(fib_tab(num), result)
def test_with_10(self): num = 10 result = 55 self.assertEqual(fib_tab(num), result)
def test_with_0(self): num = 0 result = 0 self.assertEqual(fib_tab(num), result)