Ad
  • Custom User Avatar

    If you read the the error when running the tests:

    java.lang.IllegalArgumentException
    	at Canvas.draw(Canvas.java:22)
    	at SolutionTest.mixedDrawing(SolutionTest.java:43)
    

    It shows you where the exception is thrown in your code.

    You're mixing up all kinds of x and ys in those draw-related methods, so I'm afraid you will have to refactor the code and make the sides more clear to yourself ;-)

  • Custom User Avatar

    Please raise questions and not issues if it's not provable that it's the kata's fault. (We have too many bogus issues every day, so.)

    And please provide your code (in spoilers). Usually it's the code's problem ;-)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution