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.
Yeah, I was reading it wrong. My mistake.
Had an issue with the tests on Python. Got this error:
Testing for SJF([14, 13, 13, 8, 9], 0)
It should work for random tests too: 57 should equal 8
But if we are looking for index 0 then we are hitting 8, 9, 13, 13 and then our interest (14).
Looks like the solution to the test case was sorted then indexed instead of using original list for index.
Sorry, forgot to mention that. It was in Python that I was having the issue.
Keep getting an error that says "None should equal 'Showing 1 to 10 of 30 Products.'" but the first test is:
Test.assert_equals(pagination_text(1,10,30),"Showing 1 to 10 of 30 Products.")
Have checked the punctuation and spacing but cannot see an issue. Working the Python version btw.
Built the solution but it tells me the first test case should be STAY even though it is the example in the description that results in a GO being tested. The test cases assert GO and STAY respectively but I get an error saying neither should be GO.