def test_returns_fizz_with_value_9(self): game = Fizzbuzz() result = game.play(9) self.assertEqual('fizz', result)
def test_fizz(): fizzbuzz = Fizzbuzz() assert fizzbuzz.play(3) == "Fizz"
def test_buzz(): fizzbuzz = Fizzbuzz() assert fizzbuzz.play(5) == "Buzz"
def test_number(): fizzbuzz = Fizzbuzz() assert fizzbuzz.play(2) == 2