Beispiel #1
0
 def test_say_1_when_1(self):
     self.assertEqual(player(1), "1")
Beispiel #2
0
 def test_say_2_when_2(self):
     self.assertEqual(player(2), "2")
Beispiel #3
0
 def test_say_fizzbuzz_when_30(self):
     self.assertEqual(player(30), "fizzbuzz")
Beispiel #4
0
 def test_say_fizzbuzz_when_45(self):
     self.assertEqual(player(45), 'fizzbuzz')
Beispiel #5
0
 def test_say_fizzbuzz_when_15(self):
     self.assertEqual(player(15), "fizzbuzz")
Beispiel #6
0
 def test_say_buzz_when_20(self):
     self.assertEqual(player(20), "buzz")
Beispiel #7
0
 def test_say_buzz_when_5(self):
     self.assertEqual(player(5), "buzz")
Beispiel #8
0
 def test_say_fizz_when_9(self):
     self.assertEqual(player(9), "fizz")
Beispiel #9
0
 def test_say_4_when_4(self):
     self.assertEqual(player(4), "4")