Skip to content

Commit 8ba7bc6

Browse files
committed
sync tests pig-latin
1 parent d0b0c54 commit 8ba7bc6

File tree

2 files changed

+40
-25
lines changed

2 files changed

+40
-25
lines changed
+35-25
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,79 @@
1-
# This is an auto-generated file. Regular comments will be removed when this
2-
# file is regenerated. Regenerating will not touch any manually added keys,
3-
# so comments can be added in a "comment" key.
1+
# This is an auto-generated file.
2+
#
3+
# Regenerating this file via `configlet sync` will:
4+
# - Recreate every `description` key/value pair
5+
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+
# - Preserve any other key/value pair
8+
#
9+
# As user-added comments (using the # character) will be removed when this file
10+
# is regenerated, comments can be added via a `comment` key.
411

512
[11567f84-e8c6-4918-aedb-435f0b73db57]
6-
description = "word beginning with a"
13+
description = "ay is added to words that start with vowels -> word beginning with a"
714

815
[f623f581-bc59-4f45-9032-90c3ca9d2d90]
9-
description = "word beginning with e"
16+
description = "ay is added to words that start with vowels -> word beginning with e"
1017

1118
[7dcb08b3-23a6-4e8a-b9aa-d4e859450d58]
12-
description = "word beginning with i"
19+
description = "ay is added to words that start with vowels -> word beginning with i"
1320

1421
[0e5c3bff-266d-41c8-909f-364e4d16e09c]
15-
description = "word beginning with o"
22+
description = "ay is added to words that start with vowels -> word beginning with o"
1623

1724
[614ba363-ca3c-4e96-ab09-c7320799723c]
18-
description = "word beginning with u"
25+
description = "ay is added to words that start with vowels -> word beginning with u"
1926

2027
[bf2538c6-69eb-4fa7-a494-5a3fec911326]
21-
description = "word beginning with a vowel and followed by a qu"
28+
description = "ay is added to words that start with vowels -> word beginning with a vowel and followed by a qu"
2229

2330
[e5be8a01-2d8a-45eb-abb4-3fcc9582a303]
24-
description = "word beginning with p"
31+
description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with p"
2532

2633
[d36d1e13-a7ed-464d-a282-8820cb2261ce]
27-
description = "word beginning with k"
34+
description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with k"
2835

2936
[d838b56f-0a89-4c90-b326-f16ff4e1dddc]
30-
description = "word beginning with x"
37+
description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with x"
3138

3239
[bce94a7a-a94e-4e2b-80f4-b2bb02e40f71]
33-
description = "word beginning with q without a following u"
40+
description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with q without a following u"
41+
42+
[e59dbbe8-ccee-4619-a8e9-ce017489bfc0]
43+
description = "first letter and ay are moved to the end of words that start with consonants -> word beginning with consonant and vowel containing qu"
3444

3545
[c01e049a-e3e2-451c-bf8e-e2abb7e438b8]
36-
description = "word beginning with ch"
46+
description = "some letter clusters are treated like a single consonant -> word beginning with ch"
3747

3848
[9ba1669e-c43f-4b93-837a-cfc731fd1425]
39-
description = "word beginning with qu"
49+
description = "some letter clusters are treated like a single consonant -> word beginning with qu"
4050

4151
[92e82277-d5e4-43d7-8dd3-3a3b316c41f7]
42-
description = "word beginning with qu and a preceding consonant"
52+
description = "some letter clusters are treated like a single consonant -> word beginning with qu and a preceding consonant"
4353

4454
[79ae4248-3499-4d5b-af46-5cb05fa073ac]
45-
description = "word beginning with th"
55+
description = "some letter clusters are treated like a single consonant -> word beginning with th"
4656

4757
[e0b3ae65-f508-4de3-8999-19c2f8e243e1]
48-
description = "word beginning with thr"
58+
description = "some letter clusters are treated like a single consonant -> word beginning with thr"
4959

5060
[20bc19f9-5a35-4341-9d69-1627d6ee6b43]
51-
description = "word beginning with sch"
61+
description = "some letter clusters are treated like a single consonant -> word beginning with sch"
5262

5363
[54b796cb-613d-4509-8c82-8fbf8fc0af9e]
54-
description = "word beginning with yt"
64+
description = "some letter clusters are treated like a single vowel -> word beginning with yt"
5565

5666
[8c37c5e1-872e-4630-ba6e-d20a959b67f6]
57-
description = "word beginning with xr"
67+
description = "some letter clusters are treated like a single vowel -> word beginning with xr"
5868

5969
[a4a36d33-96f3-422c-a233-d4021460ff00]
60-
description = "y is treated like a consonant at the beginning of a word"
70+
description = "position of y in a word determines if it is a consonant or a vowel -> y is treated like a consonant at the beginning of a word"
6171

6272
[adc90017-1a12-4100-b595-e346105042c7]
63-
description = "y is treated like a vowel at the end of a consonant cluster"
73+
description = "position of y in a word determines if it is a consonant or a vowel -> y is treated like a vowel at the end of a consonant cluster"
6474

6575
[29b4ca3d-efe5-4a95-9a54-8467f2e5e59a]
66-
description = "y as second letter in two letter word"
76+
description = "position of y in a word determines if it is a consonant or a vowel -> y as second letter in two letter word"
6777

6878
[44616581-5ce3-4a81-82d0-40c7ab13d2cf]
69-
description = "a whole phrase"
79+
description = "phrases are translated -> a whole phrase"

exercises/practice/pig-latin/pig-latin.test

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ test pig-latin-13 "word beginning with qu and a preceding consonant" -body {
7070
translate "square"
7171
} -returnCodes ok -result "aresquay"
7272

73+
skip pig-latin-13b
74+
test pig-latin-13b "word beginning with consonant and vowel containing qu" -body {
75+
translate "liquid"
76+
} -returnCodes ok -result "iquidlay"
77+
7378
skip pig-latin-14
7479
test pig-latin-14 "word beginning with th" -body {
7580
translate "therapy"

0 commit comments

Comments
 (0)