def test_returns_one_if_given_one(self): expected = 1 actual = Fizzbuzz.fizzbuzzer(self.fizzbuzz, 1) self.assertEqual(expected, actual)
def test_returns_fizzbuzz_if_given_thirty(self): self.assertEqual("FizzBuzz", Fizzbuzz.fizzbuzzer( self.fizzbuzz, 30))
def test_returns_fizzbuzz_if_given_fifteen(self): self.assertEqual("FizzBuzz", Fizzbuzz.fizzbuzzer( self.fizzbuzz, 15))
def test_returns_buzz_if_given_six(self): self.assertEqual("Buzz", Fizzbuzz.fizzbuzzer( self.fizzbuzz, 6))
def test_returns_buzz_if_given_three(self): self.assertEqual("Buzz", Fizzbuzz.fizzbuzzer( self.fizzbuzz, 3))
def test_returns_two_if_given_two(self): self.assertEqual(2, Fizzbuzz.fizzbuzzer( self.fizzbuzz, 2))