Skip to content

Commit 83ab572

Browse files
authored
Do not intentionally exclude any exercises from the Rust test suite (#985)
Per [slack](https://exercism-team.slack.com/archives/CR91YFNG3/p1602838984216700?thread_ts=1602837142.216600&cid=CR91YFNG3), `tests.toml` has these semantics: - a test whose uuid's value is `true` has been implemented in the test suite - a test whose uuid's value is `false` has been rejected by the test suite - a test whose uuid is missing from `tests.toml` is new, and has been neither approved nor rejected. Before, the assumption was that no tests in the suite were rejected. Therefore, it is not appropriate for any test to be labeled `false`. Therefore, we comment out those lines by this script: ```bash fd -uutf tests.toml -x \ sed -E -i -e '/"?[-a-zA-Z0-9]+"? = false/ { i '\#' this test may not be in the suite but has not been intentionally rejected s/^/# / }' ```
1 parent b5ef4de commit 83ab572

File tree

76 files changed

+1796
-898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1796
-898
lines changed

exercises/all-your-base/.meta/tests.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"d3901c80-8190-41b9-bd86-38d988efa956" = true
2323

2424
# 15-bit integer
25-
"5d42f85e-21ad-41bd-b9be-a3e8e4258bbf" = false
25+
# this test may not be in the suite but has not been intentionally rejected
26+
# "5d42f85e-21ad-41bd-b9be-a3e8e4258bbf" = false
2627

2728
# empty list
2829
"d68788f7-66dd-43f8-a543-f15b6d233f83" = true
@@ -43,10 +44,12 @@
4344
"e21a693a-7a69-450b-b393-27415c26a016" = true
4445

4546
# input base is negative
46-
"54a23be5-d99e-41cc-88e0-a650ffe5fcc2" = false
47+
# this test may not be in the suite but has not been intentionally rejected
48+
# "54a23be5-d99e-41cc-88e0-a650ffe5fcc2" = false
4749

4850
# negative digit
49-
"9eccf60c-dcc9-407b-95d8-c37b8be56bb6" = false
51+
# this test may not be in the suite but has not been intentionally rejected
52+
# "9eccf60c-dcc9-407b-95d8-c37b8be56bb6" = false
5053

5154
# invalid positive digit
5255
"232fa4a5-e761-4939-ba0c-ed046cd0676a" = true
@@ -58,7 +61,9 @@
5861
"73dac367-da5c-4a37-95fe-c87fad0a4047" = true
5962

6063
# output base is negative
61-
"13f81f42-ff53-4e24-89d9-37603a48ebd9" = false
64+
# this test may not be in the suite but has not been intentionally rejected
65+
# "13f81f42-ff53-4e24-89d9-37603a48ebd9" = false
6266

6367
# both bases are negative
64-
"0e6c895d-8a5d-4868-a345-309d094cfe8d" = false
68+
# this test may not be in the suite but has not been intentionally rejected
69+
# "0e6c895d-8a5d-4868-a345-309d094cfe8d" = false

exercises/allergies/.meta/tests.toml

Lines changed: 82 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,148 +1,189 @@
11
[canonical-tests]
22

33
# not allergic to anything
4-
"17fc7296-2440-4ac4-ad7b-d07c321bc5a0" = false
4+
# this test may not be in the suite but has not been intentionally rejected
5+
# "17fc7296-2440-4ac4-ad7b-d07c321bc5a0" = false
56

67
# allergic only to eggs
7-
"07ced27b-1da5-4c2e-8ae2-cb2791437546" = false
8+
# this test may not be in the suite but has not been intentionally rejected
9+
# "07ced27b-1da5-4c2e-8ae2-cb2791437546" = false
810

911
# allergic to eggs and something else
10-
"5035b954-b6fa-4b9b-a487-dae69d8c5f96" = false
12+
# this test may not be in the suite but has not been intentionally rejected
13+
# "5035b954-b6fa-4b9b-a487-dae69d8c5f96" = false
1114

1215
# allergic to something, but not eggs
13-
"64a6a83a-5723-4b5b-a896-663307403310" = false
16+
# this test may not be in the suite but has not been intentionally rejected
17+
# "64a6a83a-5723-4b5b-a896-663307403310" = false
1418

1519
# allergic to everything
1620
"90c8f484-456b-41c4-82ba-2d08d93231c6" = true
1721

1822
# not allergic to anything
19-
"d266a59a-fccc-413b-ac53-d57cb1f0db9d" = false
23+
# this test may not be in the suite but has not been intentionally rejected
24+
# "d266a59a-fccc-413b-ac53-d57cb1f0db9d" = false
2025

2126
# allergic only to peanuts
22-
"ea210a98-860d-46b2-a5bf-50d8995b3f2a" = false
27+
# this test may not be in the suite but has not been intentionally rejected
28+
# "ea210a98-860d-46b2-a5bf-50d8995b3f2a" = false
2329

2430
# allergic to peanuts and something else
25-
"eac69ae9-8d14-4291-ac4b-7fd2c73d3a5b" = false
31+
# this test may not be in the suite but has not been intentionally rejected
32+
# "eac69ae9-8d14-4291-ac4b-7fd2c73d3a5b" = false
2633

2734
# allergic to something, but not peanuts
28-
"9152058c-ce39-4b16-9b1d-283ec6d25085" = false
35+
# this test may not be in the suite but has not been intentionally rejected
36+
# "9152058c-ce39-4b16-9b1d-283ec6d25085" = false
2937

3038
# allergic to everything
3139
"d2d71fd8-63d5-40f9-a627-fbdaf88caeab" = true
3240

3341
# not allergic to anything
34-
"b948b0a1-cbf7-4b28-a244-73ff56687c80" = false
42+
# this test may not be in the suite but has not been intentionally rejected
43+
# "b948b0a1-cbf7-4b28-a244-73ff56687c80" = false
3544

3645
# allergic only to shellfish
37-
"9ce9a6f3-53e9-4923-85e0-73019047c567" = false
46+
# this test may not be in the suite but has not been intentionally rejected
47+
# "9ce9a6f3-53e9-4923-85e0-73019047c567" = false
3848

3949
# allergic to shellfish and something else
40-
"b272fca5-57ba-4b00-bd0c-43a737ab2131" = false
50+
# this test may not be in the suite but has not been intentionally rejected
51+
# "b272fca5-57ba-4b00-bd0c-43a737ab2131" = false
4152

4253
# allergic to something, but not shellfish
43-
"21ef8e17-c227-494e-8e78-470a1c59c3d8" = false
54+
# this test may not be in the suite but has not been intentionally rejected
55+
# "21ef8e17-c227-494e-8e78-470a1c59c3d8" = false
4456

4557
# allergic to everything
4658
"cc789c19-2b5e-4c67-b146-625dc8cfa34e" = true
4759

4860
# not allergic to anything
49-
"651bde0a-2a74-46c4-ab55-02a0906ca2f5" = false
61+
# this test may not be in the suite but has not been intentionally rejected
62+
# "651bde0a-2a74-46c4-ab55-02a0906ca2f5" = false
5063

5164
# allergic only to strawberries
52-
"b649a750-9703-4f5f-b7f7-91da2c160ece" = false
65+
# this test may not be in the suite but has not been intentionally rejected
66+
# "b649a750-9703-4f5f-b7f7-91da2c160ece" = false
5367

5468
# allergic to strawberries and something else
55-
"50f5f8f3-3bac-47e6-8dba-2d94470a4bc6" = false
69+
# this test may not be in the suite but has not been intentionally rejected
70+
# "50f5f8f3-3bac-47e6-8dba-2d94470a4bc6" = false
5671

5772
# allergic to something, but not strawberries
58-
"23dd6952-88c9-48d7-a7d5-5d0343deb18d" = false
73+
# this test may not be in the suite but has not been intentionally rejected
74+
# "23dd6952-88c9-48d7-a7d5-5d0343deb18d" = false
5975

6076
# allergic to everything
6177
"74afaae2-13b6-43a2-837a-286cd42e7d7e" = true
6278

6379
# not allergic to anything
64-
"c49a91ef-6252-415e-907e-a9d26ef61723" = false
80+
# this test may not be in the suite but has not been intentionally rejected
81+
# "c49a91ef-6252-415e-907e-a9d26ef61723" = false
6582

6683
# allergic only to tomatoes
67-
"b69c5131-b7d0-41ad-a32c-e1b2cc632df8" = false
84+
# this test may not be in the suite but has not been intentionally rejected
85+
# "b69c5131-b7d0-41ad-a32c-e1b2cc632df8" = false
6886

6987
# allergic to tomatoes and something else
70-
"1ca50eb1-f042-4ccf-9050-341521b929ec" = false
88+
# this test may not be in the suite but has not been intentionally rejected
89+
# "1ca50eb1-f042-4ccf-9050-341521b929ec" = false
7190

7291
# allergic to something, but not tomatoes
73-
"e9846baa-456b-4eff-8025-034b9f77bd8e" = false
92+
# this test may not be in the suite but has not been intentionally rejected
93+
# "e9846baa-456b-4eff-8025-034b9f77bd8e" = false
7494

7595
# allergic to everything
7696
"b2414f01-f3ad-4965-8391-e65f54dad35f" = true
7797

7898
# not allergic to anything
79-
"978467ab-bda4-49f7-b004-1d011ead947c" = false
99+
# this test may not be in the suite but has not been intentionally rejected
100+
# "978467ab-bda4-49f7-b004-1d011ead947c" = false
80101

81102
# allergic only to chocolate
82-
"59cf4e49-06ea-4139-a2c1-d7aad28f8cbc" = false
103+
# this test may not be in the suite but has not been intentionally rejected
104+
# "59cf4e49-06ea-4139-a2c1-d7aad28f8cbc" = false
83105

84106
# allergic to chocolate and something else
85-
"b0a7c07b-2db7-4f73-a180-565e07040ef1" = false
107+
# this test may not be in the suite but has not been intentionally rejected
108+
# "b0a7c07b-2db7-4f73-a180-565e07040ef1" = false
86109

87110
# allergic to something, but not chocolate
88-
"f5506893-f1ae-482a-b516-7532ba5ca9d2" = false
111+
# this test may not be in the suite but has not been intentionally rejected
112+
# "f5506893-f1ae-482a-b516-7532ba5ca9d2" = false
89113

90114
# allergic to everything
91115
"02debb3d-d7e2-4376-a26b-3c974b6595c6" = true
92116

93117
# not allergic to anything
94-
"17f4a42b-c91e-41b8-8a76-4797886c2d96" = false
118+
# this test may not be in the suite but has not been intentionally rejected
119+
# "17f4a42b-c91e-41b8-8a76-4797886c2d96" = false
95120

96121
# allergic only to pollen
97-
"7696eba7-1837-4488-882a-14b7b4e3e399" = false
122+
# this test may not be in the suite but has not been intentionally rejected
123+
# "7696eba7-1837-4488-882a-14b7b4e3e399" = false
98124

99125
# allergic to pollen and something else
100-
"9a49aec5-fa1f-405d-889e-4dfc420db2b6" = false
126+
# this test may not be in the suite but has not been intentionally rejected
127+
# "9a49aec5-fa1f-405d-889e-4dfc420db2b6" = false
101128

102129
# allergic to something, but not pollen
103-
"3cb8e79f-d108-4712-b620-aa146b1954a9" = false
130+
# this test may not be in the suite but has not been intentionally rejected
131+
# "3cb8e79f-d108-4712-b620-aa146b1954a9" = false
104132

105133
# allergic to everything
106134
"1dc3fe57-7c68-4043-9d51-5457128744b2" = true
107135

108136
# not allergic to anything
109-
"d3f523d6-3d50-419b-a222-d4dfd62ce314" = false
137+
# this test may not be in the suite but has not been intentionally rejected
138+
# "d3f523d6-3d50-419b-a222-d4dfd62ce314" = false
110139

111140
# allergic only to cats
112-
"eba541c3-c886-42d3-baef-c048cb7fcd8f" = false
141+
# this test may not be in the suite but has not been intentionally rejected
142+
# "eba541c3-c886-42d3-baef-c048cb7fcd8f" = false
113143

114144
# allergic to cats and something else
115-
"ba718376-26e0-40b7-bbbe-060287637ea5" = false
145+
# this test may not be in the suite but has not been intentionally rejected
146+
# "ba718376-26e0-40b7-bbbe-060287637ea5" = false
116147

117148
# allergic to something, but not cats
118-
"3c6dbf4a-5277-436f-8b88-15a206f2d6c4" = false
149+
# this test may not be in the suite but has not been intentionally rejected
150+
# "3c6dbf4a-5277-436f-8b88-15a206f2d6c4" = false
119151

120152
# allergic to everything
121153
"1faabb05-2b98-4995-9046-d83e4a48a7c1" = true
122154

123155
# no allergies
124-
"f9c1b8e7-7dc5-4887-aa93-cebdcc29dd8f" = false
156+
# this test may not be in the suite but has not been intentionally rejected
157+
# "f9c1b8e7-7dc5-4887-aa93-cebdcc29dd8f" = false
125158

126159
# just eggs
127-
"9e1a4364-09a6-4d94-990f-541a94a4c1e8" = false
160+
# this test may not be in the suite but has not been intentionally rejected
161+
# "9e1a4364-09a6-4d94-990f-541a94a4c1e8" = false
128162

129163
# just peanuts
130-
"8851c973-805e-4283-9e01-d0c0da0e4695" = false
164+
# this test may not be in the suite but has not been intentionally rejected
165+
# "8851c973-805e-4283-9e01-d0c0da0e4695" = false
131166

132167
# just strawberries
133-
"2c8943cb-005e-435f-ae11-3e8fb558ea98" = false
168+
# this test may not be in the suite but has not been intentionally rejected
169+
# "2c8943cb-005e-435f-ae11-3e8fb558ea98" = false
134170

135171
# eggs and peanuts
136-
"6fa95d26-044c-48a9-8a7b-9ee46ec32c5c" = false
172+
# this test may not be in the suite but has not been intentionally rejected
173+
# "6fa95d26-044c-48a9-8a7b-9ee46ec32c5c" = false
137174

138175
# more than eggs but not peanuts
139-
"19890e22-f63f-4c5c-a9fb-fb6eacddfe8e" = false
176+
# this test may not be in the suite but has not been intentionally rejected
177+
# "19890e22-f63f-4c5c-a9fb-fb6eacddfe8e" = false
140178

141179
# lots of stuff
142-
"4b68f470-067c-44e4-889f-c9fe28917d2f" = false
180+
# this test may not be in the suite but has not been intentionally rejected
181+
# "4b68f470-067c-44e4-889f-c9fe28917d2f" = false
143182

144183
# everything
145-
"0881b7c5-9efa-4530-91bd-68370d054bc7" = false
184+
# this test may not be in the suite but has not been intentionally rejected
185+
# "0881b7c5-9efa-4530-91bd-68370d054bc7" = false
146186

147187
# no allergen score parts
148-
"12ce86de-b347-42a0-ab7c-2e0570f0c65b" = false
188+
# this test may not be in the suite but has not been intentionally rejected
189+
# "12ce86de-b347-42a0-ab7c-2e0570f0c65b" = false
Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,40 @@
11
[canonical-tests]
22

33
# puzzle with three letters
4-
"e0c08b07-9028-4d5f-91e1-d178fead8e1a" = false
4+
# this test may not be in the suite but has not been intentionally rejected
5+
# "e0c08b07-9028-4d5f-91e1-d178fead8e1a" = false
56

67
# solution must have unique value for each letter
7-
"a504ee41-cb92-4ec2-9f11-c37e95ab3f25" = false
8+
# this test may not be in the suite but has not been intentionally rejected
9+
# "a504ee41-cb92-4ec2-9f11-c37e95ab3f25" = false
810

911
# leading zero solution is invalid
10-
"4e3b81d2-be7b-4c5c-9a80-cd72bc6d465a" = false
12+
# this test may not be in the suite but has not been intentionally rejected
13+
# "4e3b81d2-be7b-4c5c-9a80-cd72bc6d465a" = false
1114

1215
# puzzle with two digits final carry
1316
"8a3e3168-d1ee-4df7-94c7-b9c54845ac3a" = true
1417

1518
# puzzle with four letters
16-
"a9630645-15bd-48b6-a61e-d85c4021cc09" = false
19+
# this test may not be in the suite but has not been intentionally rejected
20+
# "a9630645-15bd-48b6-a61e-d85c4021cc09" = false
1721

1822
# puzzle with six letters
19-
"3d905a86-5a52-4e4e-bf80-8951535791bd" = false
23+
# this test may not be in the suite but has not been intentionally rejected
24+
# "3d905a86-5a52-4e4e-bf80-8951535791bd" = false
2025

2126
# puzzle with seven letters
22-
"4febca56-e7b7-4789-97b9-530d09ba95f0" = false
27+
# this test may not be in the suite but has not been intentionally rejected
28+
# "4febca56-e7b7-4789-97b9-530d09ba95f0" = false
2329

2430
# puzzle with eight letters
25-
"12125a75-7284-4f9a-a5fa-191471e0d44f" = false
31+
# this test may not be in the suite but has not been intentionally rejected
32+
# "12125a75-7284-4f9a-a5fa-191471e0d44f" = false
2633

2734
# puzzle with ten letters
28-
"fb05955f-38dc-477a-a0b6-5ef78969fffa" = false
35+
# this test may not be in the suite but has not been intentionally rejected
36+
# "fb05955f-38dc-477a-a0b6-5ef78969fffa" = false
2937

3038
# puzzle with ten letters and 199 addends
31-
"9a101e81-9216-472b-b458-b513a7adacf7" = false
39+
# this test may not be in the suite but has not been intentionally rejected
40+
# "9a101e81-9216-472b-b458-b513a7adacf7" = false

exercises/anagram/.meta/tests.toml

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,57 @@
11
[canonical-tests]
22

33
# no matches
4-
"dd40c4d2-3c8b-44e5-992a-f42b393ec373" = false
4+
# this test may not be in the suite but has not been intentionally rejected
5+
# "dd40c4d2-3c8b-44e5-992a-f42b393ec373" = false
56

67
# detects two anagrams
7-
"b3cca662-f50a-489e-ae10-ab8290a09bdc" = false
8+
# this test may not be in the suite but has not been intentionally rejected
9+
# "b3cca662-f50a-489e-ae10-ab8290a09bdc" = false
810

911
# does not detect anagram subsets
10-
"a27558ee-9ba0-4552-96b1-ecf665b06556" = false
12+
# this test may not be in the suite but has not been intentionally rejected
13+
# "a27558ee-9ba0-4552-96b1-ecf665b06556" = false
1114

1215
# detects anagram
13-
"64cd4584-fc15-4781-b633-3d814c4941a4" = false
16+
# this test may not be in the suite but has not been intentionally rejected
17+
# "64cd4584-fc15-4781-b633-3d814c4941a4" = false
1418

1519
# detects three anagrams
16-
"99c91beb-838f-4ccd-b123-935139917283" = false
20+
# this test may not be in the suite but has not been intentionally rejected
21+
# "99c91beb-838f-4ccd-b123-935139917283" = false
1722

1823
# detects multiple anagrams with different case
19-
"78487770-e258-4e1f-a646-8ece10950d90" = false
24+
# this test may not be in the suite but has not been intentionally rejected
25+
# "78487770-e258-4e1f-a646-8ece10950d90" = false
2026

2127
# does not detect non-anagrams with identical checksum
22-
"1d0ab8aa-362f-49b7-9902-3d0c668d557b" = false
28+
# this test may not be in the suite but has not been intentionally rejected
29+
# "1d0ab8aa-362f-49b7-9902-3d0c668d557b" = false
2330

2431
# detects anagrams case-insensitively
25-
"9e632c0b-c0b1-4804-8cc1-e295dea6d8a8" = false
32+
# this test may not be in the suite but has not been intentionally rejected
33+
# "9e632c0b-c0b1-4804-8cc1-e295dea6d8a8" = false
2634

2735
# detects anagrams using case-insensitive subject
28-
"b248e49f-0905-48d2-9c8d-bd02d8c3e392" = false
36+
# this test may not be in the suite but has not been intentionally rejected
37+
# "b248e49f-0905-48d2-9c8d-bd02d8c3e392" = false
2938

3039
# detects anagrams using case-insensitive possible matches
31-
"f367325c-78ec-411c-be76-e79047f4bd54" = false
40+
# this test may not be in the suite but has not been intentionally rejected
41+
# "f367325c-78ec-411c-be76-e79047f4bd54" = false
3242

3343
# does not detect an anagram if the original word is repeated
34-
"7cc195ad-e3c7-44ee-9fd2-d3c344806a2c" = false
44+
# this test may not be in the suite but has not been intentionally rejected
45+
# "7cc195ad-e3c7-44ee-9fd2-d3c344806a2c" = false
3546

3647
# anagrams must use all letters exactly once
37-
"9878a1c9-d6ea-4235-ae51-3ea2befd6842" = false
48+
# this test may not be in the suite but has not been intentionally rejected
49+
# "9878a1c9-d6ea-4235-ae51-3ea2befd6842" = false
3850

3951
# words are not anagrams of themselves (case-insensitive)
40-
"85757361-4535-45fd-ac0e-3810d40debc1" = false
52+
# this test may not be in the suite but has not been intentionally rejected
53+
# "85757361-4535-45fd-ac0e-3810d40debc1" = false
4154

4255
# words other than themselves can be anagrams
43-
"a0705568-628c-4b55-9798-82e4acde51ca" = false
56+
# this test may not be in the suite but has not been intentionally rejected
57+
# "a0705568-628c-4b55-9798-82e4acde51ca" = false

0 commit comments

Comments
 (0)