def test_other(self): self.assertEqual(fact(5), 120) self.assertEqual(fact(9), 362880)
def test_zero(self): self.assertEqual(fact(0), 1)
def test_one(self): self.assertEqual(fact(1), 1)