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.
(see previous comments)
redid the KATA and removed the duplicate entries and the code worked.
For the designer of this KATA, I hope this information is helpful to you:
I did this KATA using JavaScript and experienced odd results......so:
What should have resulted is the code should have worked regardless of empty arrays and/or duplicate data. What actually resulted was I still received a boatload of errors on the test results.
I then console logged the array values within the test results to see what was actually being conveyed
as arguments to arr1 & arr2 and tested my code fully outside of the codewars environment
and it executed perfectly.
I am fairly certain that there is an issue with your test cases.
This is the first time I created my own test cases. Thought I followed the directions properly and created this line:
Test.assertEquals(pascalsTriangle(5), [ 1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 4, 6, 4, 1 ]); The first argument being the function with its argument stated, and the 2nd argument being the answer expected. ...not sure what I did wrong.
Secondly, I hit submit to have the creaters test cases run and passed all the tests. ...Also did not get a final submit button to show.
Help would be greatly appreciated.