Ad
  • Custom User Avatar

    I will give you two int arrays each with a size of 4. These will be the end points of the line.

    In what format? 4 numbers can mean anything.

  • Custom User Avatar

    I didn't even pay attention, but your tests aren't enough:

    {0,0,100,100}, {0,0,100,150}: both our codes would return true, for this!

    and note that once you'll corret that, you'll need to handle floating point errors.

  • Custom User Avatar

    hi,

    Sorry, but your kata is way too much of a classic (we already have sevral katas about that kind of stuff). Moreover, it's lacking random tests.