File tree 3 files changed +21
-3
lines changed
exercises/practice/zipper 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 4
4
],
5
5
"contributors" : [
6
6
" FridaTveit" ,
7
+ " jagdish-15" ,
7
8
" jmrunkle" ,
8
9
" lemoncurry" ,
9
10
" msomji" ,
Original file line number Diff line number Diff line change 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.
4
11
5
12
[771c652e-0754-4ef0-945c-0675d12ef1f5 ]
6
13
description = " data is retained"
@@ -20,6 +27,9 @@ description = "traversing up from top"
20
27
[b8505f6a-aed4-4c2e-824f-a0ed8570d74b ]
21
28
description = " left, right, and up"
22
29
30
+ [b9aa8d54-07b7-4bfd-ab6b-7ff7f35930b6 ]
31
+ description = " test ability to descend multiple levels and return"
32
+
23
33
[47df1a27-b709-496e-b381-63a03b82ea5f ]
24
34
description = " set_value"
25
35
Original file line number Diff line number Diff line change @@ -60,6 +60,13 @@ public void testLeftRightAndUp() {
60
60
assertThat (zipper .left .up .right .up .left .right .getValue ()).isEqualTo (3 );
61
61
}
62
62
63
+ @ Disabled ("Remove to run test" )
64
+ @ Test
65
+ public void testAbilityToReturnAfterMultipleLevelDescend () {
66
+ zipper = binaryTree .getRoot ();
67
+ assertThat (zipper .left .right .up .up .getValue ()).isEqualTo (1 );
68
+ }
69
+
63
70
@ Disabled ("Remove to run test" )
64
71
@ Test
65
72
public void testSetValue () {
You can’t perform that action at this time.
0 commit comments