def test_fib_multi(self): for i, fib_term in enumerate(self.fib_terms): self.assertEqual(Fib.fib_term(i), Fib.fib_num(Fib.fib_inv(fib_term)))
def test_fib_term(self): for i, fib_term in enumerate(self.fib_terms): self.assertEqual(fib_term, Fib.fib_term(i))