Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
No problem!
Your example test cases work fine, but the full set of tests seems to pass by itself regardless of the user function
What are you checking the user's function against?
No problem! Thanks for your input!
Thanks for the feedback - I was trying to describe the set of test cases as being for input I know to be valid. I've amended the test cases so this should be clearer.
Thanks for the feedback. I think that I worded the test description wrongly - I was trying to describe the first set of tests as being tests for inputs I know to be valid. I've amended the test cases now.
Good question! I did try to address this with the initial test cases but I have also added detail to the description to make this as clear as possible.
Thanks for this, I've amended the description.
Big thanks for your advice ZED.CWT, I have fixed the example test case
Closing issue as it seems to have eliminated the problem. Thanks for the advice and please let me know if you spot further issues :)
Is it enough to recreate the 'tree' class as 'testTree'?
Or is there something more I need to do? If there is a good reference you can share I'd be very grateful :)
Thanks for the comment. What should I do instead?
Thanks for solving my kata!
Looks like I need to add test cases that would result in negative property values...
I enjoyed this kata! You do need to think about the problem in a practical way - how would you actually break chocolate? Answers that involve cutting neatly along the lines have missed the point. This seemed clear enough to me.
The first set of tests wouldn't work as there is no objectEqual(a,b) function.
Great kata! I've learned a valuable skill to add array methods. Thanks :)