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.
For this test cases fail:
test.assert_equals(tickets([25, 25, 50]), "YES")
test.assert_equals(tickets([25, 100]), "NO")
test.assert_equals(tickets([25, 25, 50, 100, 25, 25]), "YES")
test.assert_equals(tickets([25, 25, 50, 100, 25, 50]), "YES")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25,25,25,25,25,25,25,100,100,100,100]), "YES")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25,25,25,25,25,25,100,100,100,100]), "NO")
test.assert_equals(tickets([100,100,100,100, 25, 25, 25, 25, 25, 25,25,25,25,25,25,25]), "YES")
test.assert_equals(tickets([100,100,100, 25, 25, 25, 25, 25, 25,25,25,25,25,25,100]), "NO")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25,25,25,25,25,25,25,50,50,50,50]), "YES")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25,25,25,25,25,25,50,50,50,50,100]), "YES")
test.assert_equals(tickets([25, 25, 50]), "YES")
test.assert_equals(tickets([25, 100]), "NO")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25, 25, 25, 25, 25]), "YES")
test.assert_equals(tickets([50, 50, 50, 50, 50, 50, 50, 50, 50, 50]), "NO")
test.assert_equals(tickets([100, 100, 100, 100, 100, 100, 100, 100, 100, 100]), "NO")
test.assert_equals(tickets([25, 25, 25, 25, 50, 100, 50]), "YES")
test.assert_equals(tickets([50, 100,100]), "NO")
test.assert_equals(tickets([25, 25, 100]), "NO")
test.assert_equals(tickets([25, 25, 25, 25, 25, 25, 25, 50, 50, 50, 100, 100, 100, 100]), "NO")
test.assert_equals(tickets([25, 25, 50, 50, 100]), "NO")
test.assert_equals(tickets([25, 50, 50]), "NO")
test.assert_equals(tickets([25, 25, 25, 100]), "YES")
test.assert_equals(tickets([25, 50, 25, 100]), "YES")
test.assert_equals(tickets([25, 25, 25, 25, 25, 100, 100]), "NO")
Supposily in the last one, but if i put the last one alone it does not fail
Nice!