Beispiel #1
0
 def test_1000000(self):
     self.assertEqual('Buzz', q0002.fizzbuff(1000000))
Beispiel #2
0
 def test_3000000(self):
     self.assertEqual('Fizz Buzz', q0002.fizzbuff(3000000))
Beispiel #3
0
 def test_by_data(self):
     for i, expected in enumerate(data):
         self.assertEqual(expected, q0002.fizzbuff(i))