-
-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binary-search-tree: Implement canonical-data.json #555
Comments
@kytrinyx I've made a few simple tests in my PR #54 of dart track. To summarize, tests should verify the implementation of binary search tree has following
I didn't need to implement all of them as dart can be (optionally) type strict. Similarly most of the type strict languages win't need to implement all. This can be a good starting point. |
Indeed! Thanks so much for adding this context, it's very helpful. 💙 |
@kytrinyx should we delay implementing this exercise until a canonical-data.json is defined? I know in the dart track's README, it states:
Since the specification is missing a canonical-data.json, does that mean it's incomplete and thus not ready for implementation? |
@kytrinyx if the summary I provide is good enough I can make a PR with suggested changes. |
No, We've also started allowing track-specific exercises (though in this case there's no reason to make it track-specific). I probably need to update that documentation. |
@kabiir that would be great! |
|
@Insti this thread is about the While the So, there is no danger when collecting the canonical data for this exercise, it will not be removed or reworked thus fast ;) |
Thanks @NobbZ, my mistake. |
We want to have a standard set of test inputs and outputs for each exercise to
make it easier to port them to new languages, as well as to help keep the
exercises in sync.
The Binary Search Tree exercise can be found in the ./exercises/binary-search-tree/ directory.
The step-by-step instructions for how to compile a canonical-data.json file is
described in this section of the contributing guide.
See http://exercism.io/contribute/canonical-data/binary-search-tree for the up-to-date list of
language tracks that have an implementation of the Binary Search Tree exercise.
The tracking issue has more context.
The text was updated successfully, but these errors were encountered: