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.
In case you get stuck a good check is to write out the input given - in this case "console.log(values, n)". Build your own test cases based on this and it will often help you on :)
I get the same error message "Test Failed: maximumSum with n>values.length not working as expected" but I pass the test you offered (Test.assertEquals(minimumSum(new Array(5, 4, 3, 2, -11), 8), maximumSum(new Array(5, 4, 3, 2, -11), 8));) ... No idea what to do.
Sure thing. Thanks for the feedback.
Hi Chris!
Sorry it took me a while to answer - and actually sorry also for the bit misleading error message. Try this in your test suite, and see what happens:
The point you had missed is the last bullet point in the instructions:
But now that this came up, I think I'll edit the test suite a bit, to include a separate test for this.