def test_35(self):
     self.assertEqual("PlangPlong", raindrops(35))
 def test_49(self):
     self.assertEqual("Plong", raindrops(49))
 def test_01(self):
     self.assertEqual("1", raindrops(1))
 def test_21(self):
     self.assertEqual("PlingPlong", raindrops(21))
 def test_14(self):
     self.assertEqual("Plong", raindrops(14))
 def test_49(self):
     self.assertEqual("Plong", raindrops(49))
Exemple #7
0
 def test_49(self):
     self.assertEqual(raindrops(49), "Plong")
 def test_06(self):
     self.assertEqual("Pling", raindrops(6))
Exemple #9
0
 def test_15(self):
     self.assertEqual(raindrops(15), "PlingPlang")
Exemple #10
0
 def test_25(self):
     self.assertEqual(raindrops(25), "Plang")
Exemple #11
0
 def test_14(self):
     self.assertEqual(raindrops(14), "Plong")
Exemple #12
0
 def test_10(self):
     self.assertEqual(raindrops(10), "Plang")
Exemple #13
0
 def test_9(self):
     self.assertEqual(raindrops(9), "Pling")
 def test_105(self):
     self.assertEqual("PlingPlangPlong", raindrops(105))
Exemple #15
0
 def test_52(self):
     self.assertEqual(raindrops(52), "52")
 def test_3(self):
     self.assertEqual("Pling", raindrops(3))
Exemple #17
0
 def test_12121(self):
     self.assertEqual(raindrops(12121), "12121")
Exemple #18
0
 def test_09(self):
     self.assertEqual("Pling", raindrops(9))
Exemple #19
0
 def test_1(self):
     self.assertEqual(raindrops(1), "1")
Exemple #20
0
 def test_25(self):
     self.assertEqual("Plang", raindrops(25))
Exemple #21
0
 def test_3(self):
     self.assertEqual(raindrops(3), "Pling")
Exemple #22
0
 def test_105(self):
     self.assertEqual("PlingPlangPlong", raindrops(105))
 def test_2_to_the_power_3_does_not_make_sound(self):
     self.assertEqual(raindrops(8), "8")
Exemple #24
0
 def test_6(self):
     self.assertEqual(raindrops(6), "Pling")
 def test_the_sound_for_21_is_plingplong(self):
     self.assertEqual(raindrops(21), "PlingPlong")
 def test_25(self):
     self.assertEqual("Plang", raindrops(25))
 def test_the_sound_for_25_is_plang(self):
     self.assertEqual(raindrops(25), "Plang")
 def test_1(self):
     self.assertEqual("1", raindrops(1))
 def test_the_sound_for_27_is_pling(self):
     self.assertEqual(raindrops(27), "Pling")
 def test_52(self):
     self.assertEqual("52", raindrops(52))
 def test_the_sound_for_49_is_plong(self):
     self.assertEqual(raindrops(49), "Plong")
 def test_12121(self):
     self.assertEqual("12121", raindrops(12121))
 def test_the_sound_for_52_is_52(self):
     self.assertEqual(raindrops(52), "52")
Exemple #34
0
 def test_03(self):
     self.assertEqual("Pling", raindrops(3))
 def test_the_sound_for_105_is_plingplangplong(self):
     self.assertEqual(raindrops(105), "PlingPlangPlong")
Exemple #36
0
 def test_07(self):
     self.assertEqual("Plong", raindrops(7))
 def test_the_sound_for_1_is_1(self):
     self.assertEqual(raindrops(1), "1")
Exemple #38
0
 def test_10(self):
     self.assertEqual("Plang", raindrops(10))
 def test_7(self):
     self.assertEqual("Plong", raindrops(7))
Exemple #40
0
 def test_21(self):
     self.assertEqual("PlingPlong", raindrops(21))
 def test_6(self):
     self.assertEqual("Pling", raindrops(6))
Exemple #42
0
 def test_35(self):
     self.assertEqual("PlangPlong", raindrops(35))
 def test_9(self):
     self.assertEqual("Pling", raindrops(9))
Exemple #44
0
 def test_52(self):
     self.assertEqual("52", raindrops(52))
 def test_10(self):
     self.assertEqual("Plang", raindrops(10))
Exemple #46
0
 def test_12121(self):
     self.assertEqual("12121", raindrops(12121))
 def test_14(self):
     self.assertEqual("Plong", raindrops(14))
Exemple #48
0
 def test_02(self):
     self.assertEqual("2", raindrops(2))
Exemple #49
0
 def test_7(self):
     self.assertEqual(raindrops(7), "Plong")