def test_not_multiple_of_3_and_5(self): list_zz = solve_fizzbuzz(4) expected = 4 self.assertEqual(list_zz, expected)
def test_multiple_of_5(self): list_zz = solve_fizzbuzz(5) expected = "buzz" self.assertEqual(list_zz, expected)
def test_solve_fizzbuzz_zero(self): with self.assertRaises(ValueError): solve_fizzbuzz(0)