Skip to content

Commit 5f4fee2

Browse files
authored
Syncing test.toml and updating the test code and the proof solutions (#2654)
1 parent 4ee8868 commit 5f4fee2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

exercises/practice/zipper/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"felbit",
77
"ganderzz",
88
"hyuko21",
9+
"jagdish-15",
910
"joshgoebel",
1011
"SleeplessByte",
1112
"tejasbubane"

exercises/practice/zipper/.meta/tests.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ description = "traversing up from top"
2727
[b8505f6a-aed4-4c2e-824f-a0ed8570d74b]
2828
description = "left, right, and up"
2929

30+
[b9aa8d54-07b7-4bfd-ab6b-7ff7f35930b6]
31+
description = "test ability to descend multiple levels and return"
32+
3033
[47df1a27-b709-496e-b381-63a03b82ea5f]
3134
description = "set_value"
3235

exercises/practice/zipper/zipper.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ describe('Zipper', () => {
5050
expect(zipper.left().up().right().up().left().right().value()).toEqual(3);
5151
});
5252

53+
xtest('test ability to descend multiple levels and return', () => {
54+
expect(zipper.left().right().up().up().value()).toEqual(1);
55+
});
56+
5357
xtest('setValue', () => {
5458
expect(zipper.left().setValue(5).toTree()).toEqual(t2);
5559
});

0 commit comments

Comments
 (0)