Exemplo n.º 1
0
 def test_35(self):
     self.assertEqual("PlangPlong", raindrops(35))
Exemplo n.º 2
0
 def test_49(self):
     self.assertEqual("Plong", raindrops(49))
Exemplo n.º 3
0
 def test_01(self):
     self.assertEqual("1", raindrops(1))
Exemplo n.º 4
0
 def test_21(self):
     self.assertEqual("PlingPlong", raindrops(21))
Exemplo n.º 5
0
 def test_14(self):
     self.assertEqual("Plong", raindrops(14))
Exemplo n.º 6
0
 def test_49(self):
     self.assertEqual("Plong", raindrops(49))
Exemplo n.º 7
0
 def test_49(self):
     self.assertEqual(raindrops(49), "Plong")
Exemplo n.º 8
0
 def test_06(self):
     self.assertEqual("Pling", raindrops(6))
Exemplo n.º 9
0
 def test_15(self):
     self.assertEqual(raindrops(15), "PlingPlang")
Exemplo n.º 10
0
 def test_25(self):
     self.assertEqual(raindrops(25), "Plang")
Exemplo n.º 11
0
 def test_14(self):
     self.assertEqual(raindrops(14), "Plong")
Exemplo n.º 12
0
 def test_10(self):
     self.assertEqual(raindrops(10), "Plang")
Exemplo n.º 13
0
 def test_9(self):
     self.assertEqual(raindrops(9), "Pling")
Exemplo n.º 14
0
 def test_105(self):
     self.assertEqual("PlingPlangPlong", raindrops(105))
Exemplo n.º 15
0
 def test_52(self):
     self.assertEqual(raindrops(52), "52")
Exemplo n.º 16
0
 def test_3(self):
     self.assertEqual("Pling", raindrops(3))
Exemplo n.º 17
0
 def test_12121(self):
     self.assertEqual(raindrops(12121), "12121")
Exemplo n.º 18
0
 def test_09(self):
     self.assertEqual("Pling", raindrops(9))
Exemplo n.º 19
0
 def test_1(self):
     self.assertEqual(raindrops(1), "1")
Exemplo n.º 20
0
 def test_25(self):
     self.assertEqual("Plang", raindrops(25))
Exemplo n.º 21
0
 def test_3(self):
     self.assertEqual(raindrops(3), "Pling")
Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 26
0
 def test_25(self):
     self.assertEqual("Plang", raindrops(25))
 def test_the_sound_for_25_is_plang(self):
     self.assertEqual(raindrops(25), "Plang")
Exemplo n.º 28
0
 def test_1(self):
     self.assertEqual("1", raindrops(1))
 def test_the_sound_for_27_is_pling(self):
     self.assertEqual(raindrops(27), "Pling")
Exemplo n.º 30
0
 def test_52(self):
     self.assertEqual("52", raindrops(52))
 def test_the_sound_for_49_is_plong(self):
     self.assertEqual(raindrops(49), "Plong")
Exemplo n.º 32
0
 def test_12121(self):
     self.assertEqual("12121", raindrops(12121))
 def test_the_sound_for_52_is_52(self):
     self.assertEqual(raindrops(52), "52")
Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 38
0
 def test_10(self):
     self.assertEqual("Plang", raindrops(10))
Exemplo n.º 39
0
 def test_7(self):
     self.assertEqual("Plong", raindrops(7))
Exemplo n.º 40
0
 def test_21(self):
     self.assertEqual("PlingPlong", raindrops(21))
Exemplo n.º 41
0
 def test_6(self):
     self.assertEqual("Pling", raindrops(6))
Exemplo n.º 42
0
 def test_35(self):
     self.assertEqual("PlangPlong", raindrops(35))
Exemplo n.º 43
0
 def test_9(self):
     self.assertEqual("Pling", raindrops(9))
Exemplo n.º 44
0
 def test_52(self):
     self.assertEqual("52", raindrops(52))
Exemplo n.º 45
0
 def test_10(self):
     self.assertEqual("Plang", raindrops(10))
Exemplo n.º 46
0
 def test_12121(self):
     self.assertEqual("12121", raindrops(12121))
Exemplo n.º 47
0
 def test_14(self):
     self.assertEqual("Plong", raindrops(14))
Exemplo n.º 48
0
 def test_02(self):
     self.assertEqual("2", raindrops(2))
Exemplo n.º 49
0
 def test_7(self):
     self.assertEqual(raindrops(7), "Plong")