def test_return_number_1(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(1) self.assertEqual(result, 1)
def test_return_number_for_7(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(7) self.assertEqual(result, 7)
def test_return_fizzbuzz_for_30(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(30) self.assertEqual(result, 'Fizzbuzz')
def test_return_buzz_for_multiple_of_5(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(10) self.assertEqual(result, 'Buzz')
def test_return_buzz_for_number_5(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(5) self.assertEqual(result, 'Buzz')
def test_return_fizz_for_multiple_of_3(self): fizzbuzz = Fizzbuzz() result = fizzbuzz.fizzbuzz_number(9) self.assertEqual(result, 'Fizz')