From 22d7fa38d20992e41b3db57cc39b37f7b24f8509 Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Wed, 4 Dec 2024 23:02:55 -0500 Subject: [PATCH] =?UTF-8?q?New=20"qu"=20test=20for=20Pig=20Latin=20I?= =?UTF-8?q?=E2=80=99m=20seeing=20some=20solutions=20that=20do=20this:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit if word starts with a vowel or “xr” or “yt”, then return word + “ay” else if word contains “qu” then … Those solutions will fail for a word like “liquid” --- exercises/pig-latin/canonical-data.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/exercises/pig-latin/canonical-data.json b/exercises/pig-latin/canonical-data.json index 9b7b11cc69..f1275d03f3 100644 --- a/exercises/pig-latin/canonical-data.json +++ b/exercises/pig-latin/canonical-data.json @@ -98,6 +98,15 @@ "phrase": "qat" }, "expected": "atqay" + }, + { + "uuid": "e59dbbe8-ccee-4619-a8e9-ce017489bfc0", + "description": "word beginning with consonant and vowel containing qu", + "property": "translate", + "input": { + "phrase": "liquid" + }, + "expected": "iquidlay" } ] },