Skip to content

Commit

Permalink
Updating tests for dominoes (#2587)
Browse files Browse the repository at this point in the history
  • Loading branch information
jagdish-15 authored Jan 11, 2025
1 parent 3c5415e commit 9d889e3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
1 change: 1 addition & 0 deletions exercises/practice/dominoes/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"chauchakching"
],
"contributors": [
"jagdish-15",
"SleeplessByte"
],
"files": {
Expand Down
16 changes: 13 additions & 3 deletions exercises/practice/dominoes/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# This is an auto-generated file. Regular comments will be removed when this
# file is regenerated. Regenerating will not touch any manually added keys,
# so comments can be added in a "comment" key.
# This is an auto-generated file.
#
# Regenerating this file via `configlet sync` will:
# - Recreate every `description` key/value pair
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
# - Preserve any other key/value pair
#
# As user-added comments (using the # character) will be removed when this file
# is regenerated, comments can be added via a `comment` key.

[31a673f2-5e54-49fe-bd79-1c1dae476c9c]
description = "empty input = empty output"
Expand Down Expand Up @@ -37,3 +44,6 @@ description = "separate loops"

[cd061538-6046-45a7-ace9-6708fe8f6504]
description = "nine elements"

[44704c7c-3adb-4d98-bd30-f45527cf8b49]
description = "separate three-domino loops"
14 changes: 14 additions & 0 deletions exercises/practice/dominoes/dominoes.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,18 @@ describe('Dominoes', () => {
true,
);
});

xdescribe('separate three-domino loops', () => {
runTest(
[
[1, 2],
[2, 3],
[3, 1],
[4, 5],
[5, 6],
[6, 4],
],
false,
);
});
});

0 comments on commit 9d889e3

Please sign in to comment.