def test_fizzbuzz(): assert fizzbuzz(15) == "FizzBuzz"
def test_buzz(): assert fizzbuzz(5) == "Buzz"
def test_number(): assert fizzbuzz(4) == 4
def test_fizz(): assert fizzbuzz(3) == "Fizz"
def test_fizzbuzz2(self): result = sample.fizzbuzz(5) self.assertEqual(result, 'buzz')
def test_fizzbuzz3(self): result = sample.fizzbuzz(4) self.assertEqual(result, 'cascas')
def fizz_test(self): self.assertEqual(fizzbuzz(3), "Fizz") self.assertEqual(fizzbuzz(6), "Fizz") self.assertEqual(fizzbuzz(9), "Fizz") self.assertEqual(fizzbuzz(12), "Fizz") self.assertEqual(fizzbuzz(18), "Fizz") self.assertEqual(fizzbuzz(5), "Buzz") self.assertEqual(fizzbuzz(10), "Buzz") self.assertEqual(fizzbuzz(20), "Buzz") self.assertEqual(fizzbuzz(35), "Buzz") self.assertEqual(fizzbuzz(40), "Buzz") self.assertEqual(fizzbuzz(15), "FizzBuzz") self.assertEqual(fizzbuzz(30), "FizzBuzz") self.assertEqual(fizzbuzz(45), "FizzBuzz") self.assertEqual(fizzbuzz(60), "FizzBuzz") self.assertEqual(fizzbuzz(2), 2)