Skip to content

Commit 9d889e3

Browse files
authored
Updating tests for dominoes (#2587)
1 parent 3c5415e commit 9d889e3

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

exercises/practice/dominoes/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"chauchakching"
44
],
55
"contributors": [
6+
"jagdish-15",
67
"SleeplessByte"
78
],
89
"files": {

exercises/practice/dominoes/.meta/tests.toml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
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
[31a673f2-5e54-49fe-bd79-1c1dae476c9c]
613
description = "empty input = empty output"
@@ -37,3 +44,6 @@ description = "separate loops"
3744

3845
[cd061538-6046-45a7-ace9-6708fe8f6504]
3946
description = "nine elements"
47+
48+
[44704c7c-3adb-4d98-bd30-f45527cf8b49]
49+
description = "separate three-domino loops"

exercises/practice/dominoes/dominoes.spec.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,18 @@ describe('Dominoes', () => {
178178
true,
179179
);
180180
});
181+
182+
xdescribe('separate three-domino loops', () => {
183+
runTest(
184+
[
185+
[1, 2],
186+
[2, 3],
187+
[3, 1],
188+
[4, 5],
189+
[5, 6],
190+
[6, 4],
191+
],
192+
false,
193+
);
194+
});
181195
});

0 commit comments

Comments
 (0)