예제 #1
0
 def test_6ならばFizzを返す(self):
     assert FizzBuzz.generate(6) == 'Fizz'
예제 #2
0
 def test_101ならば101を返す(self):
     assert FizzBuzz.generate(101) == 101
예제 #3
0
 def test_15ならばFizzBuzzを返す(self):
     assert FizzBuzz.generate(15) == 'FizzBuzz'
예제 #4
0
 def test_30ならばFizzBuzzを返す(self):
     assert FizzBuzz.generate(30) == 'FizzBuzz'
예제 #5
0
 def test_50ならばBuzzを返す(self):
     assert FizzBuzz.generate(50) == 'Buzz'