Zipper needs a test for .up.up
moveson opened this issue · 3 comments
As currently written, the Ruby Zipper test suite doesn't test a key feature of the zipper structure, which is the ability to navigate all the way back to the top of the tree from any depth. I recently completed this exercise, and my first iteration passed all tests even though it did not properly implement this feature.
For reference, the description of the exercise is here as implemented currently, with problem-specifications.
We would need to open an issue there if we want the additional specification added, as it is probably applicable for other tracks, while if we add it "ruby track only" we would track adjustments.
If you do want to pursue this, I think the next step is to open (search
first) an issue at problem-specifications and get consensus from
other tracks that utilize this exercise on the wanted change, and in the
meantime, Ruby can test for this, if you want to create a pull request
in this repository.