def test_fizzbuzz(self): self.assertEqual('FizzBuzz', FizzBuzzService.validate(45)) self.assertEqual('FizzBuzz', FizzBuzzService.validate(60))
def get(self, input_variable): return FizzBuzzService.validate(input_variable)
def test_buzz(self): self.assertEqual('Buzz', FizzBuzzService.validate(5)) self.assertEqual('Buzz', FizzBuzzService.validate(10))
def test_firsttest(self): self.assertEqual('fail', FizzBuzzService.validate(32))
def test_fizz(self): self.assertEqual("Fizz", FizzBuzzService.validate(3)) self.assertEqual("Fizz", FizzBuzzService.validate(9999)) self.assertEqual("Fizz", FizzBuzzService.validate(33))
def test_fizzbuzz(self): self.assertEqual(13, FizzBuzzService.validate(13)) self.assertEqual(11, FizzBuzzService.validate(11))
def test_buzz(self): self.assertEqual("Buzz", FizzBuzzService.validate(5)) self.assertEqual("Buzz", FizzBuzzService.validate(55)) self.assertEqual("Buzz", FizzBuzzService.validate(5555))