Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
describe"<This message should describe the categories of test groups inside this block>"doit"<A short message describing this test group>"doexpect(...).toeq(...) #Assertions#Or Test.assert_equals(user_response, reference_response)endend
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.
This comment is hidden because it contains spoiler information about the solution
Enabled in this fork
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.
Loading more items...