def test_check_For1Returns1(self): fizz_buzz = FizzBuzz() result = fizz_buzz.check(1) self.assertEqual("1", result)
def test_check_For10ReturnsBuzz(self): fizz_buzz = FizzBuzz() result = fizz_buzz.check(10) self.assertEqual("Buzz", result)
def test_check_For45ReturnsBuzz(self): fizz_buzz = FizzBuzz() result = fizz_buzz.check(45) self.assertEqual("FizzBuzz", result)
def test_check_For2Returns2(self): fizz_buzz = FizzBuzz() result = fizz_buzz.check(2) self.assertEqual("2", result)