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.
I just changed the behaviour of Haskell to match JS and Python. Ruby still needs to be adjusted.
Fixed.
Changed everything and then approved.
Rejected because of missing random tests.
Rejected
extends Object
is redundantAdded them, updated to JUnit 5 and approved.
Just use the function of your programming language to write something to standard out, e.g.
print()
in Python,console.log()
in JavaScript etc.I found some more edge cases which should be added:
Done for JS, Java, Python, Haskell.
Added in remaining languages.
All languages should have such sample and fixed tests: (Seems to be already done for Haskell, Java and Python)
test.assert_equals(has_subpattern("aaaabb"), True, 'Input: "aaaabb"')
test.assert_equals(has_subpattern("abbb"), False, 'Input: "abbb"')
test.assert_equals(has_subpattern("aabbbbbbaa"), True, 'Input: "aabbbbbbaa"')
test.assert_equals(has_subpattern("bbabbaaabbaaaabb"), True, 'Input: "bbabbaaabbaaaabb"')
Fixed. Solution is now invalidated.
Added two more fixed tests and approved.
Fork that updates the random tests.
Enabled in this fork
Approved it myself today after 5 years. Forgot to look for the suggestion.
Loading more items...