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.
Haskell translation
approved
You were just working too hard for the 7 kyu in Python - too used to C katas ;)
i guess i didnt think this through then, my mistake
Python:
My solution is utterly wrong, i'm not checking primality whatsoever, yet i pass all the time
C Translation (author inactive).
Ruby 3.0 should be enabled, see this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
Done
Description updated
Ruby translation kumited, including updated description -- please check and approve (author is inactive).
Suggestions:
Please include tests for values that are representive of your internal test data. The values in the data are orders of magnitude higher and timeout upon simple algorithms.
Already fixed by author
Hi,
Never use
Test.expect
if you do not provide a usefull message with it. Please modify your test usingtest.assert_equal
so warriors can have access to the expected result.