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 uhm.. decided to write a bunch of for-loops in haskell
It's transcribed from python. I've serialized and compared test cases from both with a small handful of seeds. Haven't touched instructions, I suppose it could say something haskell-specific on the input but I wasn't feeling inspired.
Description says
Moderators: please don't approve this kata yet.
. Raising an issue to ensure this ;-)Hi,
I built a visualizer for the tests (python). It could be added in the preloaded section and called by the user to see the maps. Would be nice to have in all languages.
Cheers
EDIT: I had to put
_script
instead ofscript
so that the code is seen => don't foget to update thatIn the random cases where the three points are all coincident, isn't it undefined (and therefore arbitrary) as to which point is in between the other two?
Random test example:
x1:6.584440917205559, x2:6.584440917205559, x3:6.584440917205559
y1:4.308324756628416, y2:4.308324756628416, y3:4.308324756628416
This comment is hidden because it contains spoiler information about the solution
Can't seem to pass
Is_Rotation_and_Is_Reflection_Tests
in c++. I checked the return value of both member functions and that looks correct, but the test still fails. Is there a third part of this test?Very interesting one. But I think the description lacks something to make it a bit less cryptic (especially in Java ; I do not know C++)): that could explain the satisfaction rate which is abnormally low.
Saddly, I can't really find suggestions to add... In Java, a first drawback is that your test class extends Dih4. That's quite unusual (at least on CW) and that conditiones a part of the tasks to complete with the constructors. Maybe you could add that the constants will be Dih4 instances too.