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