diff --git a/exercises/practice/pig-latin/.meta/tests.toml b/exercises/practice/pig-latin/.meta/tests.toml index c29168c5..d524305b 100644 --- a/exercises/practice/pig-latin/.meta/tests.toml +++ b/exercises/practice/pig-latin/.meta/tests.toml @@ -39,6 +39,9 @@ description = "first letter and ay are moved to the end of words that start with [bce94a7a-a94e-4e2b-80f4-b2bb02e40f71] description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with q without a following u" +[e59dbbe8-ccee-4619-a8e9-ce017489bfc0] +description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with consonant and vowel containing qu" + [c01e049a-e3e2-451c-bf8e-e2abb7e438b8] description = "some letter clusters are treated like a single consonant -> word beginning with ch" diff --git a/exercises/practice/pig-latin/pig_latin_test.cpp b/exercises/practice/pig-latin/pig_latin_test.cpp index 646723a4..d8e1f79e 100644 --- a/exercises/practice/pig-latin/pig_latin_test.cpp +++ b/exercises/practice/pig-latin/pig_latin_test.cpp @@ -92,6 +92,13 @@ TEST_CASE("y is treated like a vowel at the end of a consonant cluster", REQUIRE("ythmrhay" == pig_latin::translate("rhythm")); } +TEST_CASE( + "first_letter_and_ay_are_moved_to_the_end_of_words_that_start_with_" + "consonants_->_word_beginning_with_consonant_and_vowel_containing_qu", + "[e59dbbe8-ccee-4619-a8e9-ce017489bfc0]") { + REQUIRE("iquidlay" == pig_latin::translate("liquid")); +} + TEST_CASE("y as second letter in two letter word", "[29b4ca3d-efe5-4a95-9a54-8467f2e5e59a]") { REQUIRE("ymay" == pig_latin::translate("my"));