def test_fizz_mul(self): fb = FizzBuzz(3, 5) self.assertEqual(fb.say(9), "Fizz")
def test_x(self): fb = FizzBuzz(3, 5) x = 107 self.assertEqual(fb.say(x), str(x))
def test_fizz_buzz_3(self): fb = FizzBuzz(3, 5) self.assertEqual(fb.say(53), "FizzBuzz")
def test_buzz_contains(self): fb = FizzBuzz(3, 5) self.assertEqual(fb.say(55), "Buzz")
def test_fizz_contains(self): fb = FizzBuzz(3, 5) self.assertEqual(fb.say(13), "Fizz")
def test_buzz(self): fb = FizzBuzz(3, 5) self.assertEqual(fb.say(5), "Buzz")