Exemple #1
0
 def test_the_sound_for_9_is_pling_as_it_has_a_factor_3(self):
     self.assertEqual(convert(9), "Pling")
Exemple #2
0
 def test_2_to_the_power_3_does_not_make_a_raindrop_sound_as_3_is_the_exponent_not_the_base(
     self
 ):
     self.assertEqual(convert(8), "8")
Exemple #3
0
 def test_the_sound_for_5_is_plang(self):
     self.assertEqual(convert(5), "Plang")
Exemple #4
0
 def test_the_sound_for_7_is_plong(self):
     self.assertEqual(convert(7), "Plong")
Exemple #5
0
 def test_the_sound_for_3_is_pling(self):
     self.assertEqual(convert(3), "Pling")