You need to sign in or sign up before continuing.×
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.
In response to @lodimob. Thanks for this kata, Could you add to the description that fillll point that fall on lines are expected to do nothing? I add been confused on the last mixedDrawing tests if my mistake came from this and had to check here.
Also I agree as it as been said already, a bit more small tests cases with mixed drawing would help a lot for debugging. I just can't find what is wrong with my code since every simple test passes.
edit: I think my mistake come from the fact that I expected rectangle to be drawn from top left to down right, and the last test was the only one doing it in reverse manner.
Exactly! This was a very enjoyable kata. Here is another one like it : https://www.codewars.com/kata/515bb423de843ea99400000a