Skip to content

Commit

Permalink
Sync pig-latin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BNAndras committed Jan 1, 2025
1 parent 57448b4 commit bd921b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/practice/pig-latin/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 4 additions & 0 deletions exercises/practice/pig-latin/pig-latin-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
(should (string= (translate "qat") "atqay")))


(ert-deftest word-beginning-with-consonant-and-vowel-containing-qu ()
(should (string= (translate "liquid") "iquidlay")))


(ert-deftest word-beginning-with-ch ()
(should (string= (translate "chair") "airchay")))

Expand Down

0 comments on commit bd921b6

Please sign in to comment.