diff --git a/exercises/pig-latin/pig_latin_test.py b/exercises/pig-latin/pig_latin_test.py index 9fb5be9f829..26aec5ec21b 100644 --- a/exercises/pig-latin/pig_latin_test.py +++ b/exercises/pig-latin/pig_latin_test.py @@ -30,9 +30,6 @@ def test_word_beginning_with_p(self): def test_word_beginning_with_k(self): self.assertEqual(translate("koala"), "oalakay") - def test_word_beginning_with_y(self): - self.assertEqual(translate("yellow"), "ellowyay") - def test_word_beginning_with_x(self): self.assertEqual(translate("xenon"), "enonxay") @@ -63,6 +60,15 @@ def test_word_beginning_with_yt(self): def test_word_beginning_with_xr(self): self.assertEqual(translate("xray"), "xrayay") + def test_word_beginning_with_y(self): + self.assertEqual(translate("yellow"), "ellowyay") + + def test_word_beginning_with_y(self): + self.assertEqual(translate("rhythm"), "ythmrhay") + + def test_word_beginning_with_y(self): + self.assertEqual(translate("my"), "ymay") + def test_a_whole_phrase(self): self.assertEqual(translate("quick fast run"), "ickquay astfay unray")