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