Ad
  • Custom User Avatar

    I've passed all of the unit tests, but it appears that the random tests are timing out for me. AFAICT, there's no way to find out which specific test data is causing the timeout, right? I tried logging test cases to stderr, but it appears that when a test times out, Codewars just won't show the log for that test, unless I'm missing something. (When I explicitly fail a test, I do have the option to expand the log.)

    Certainly a fault of my algorithm, but it's hard to know what to benchmark without having solid examples (which are otherwise difficult to generate by hand). I'd love to be able to time profile a known failing test, because I really enjoyed working on this kata and I'd love to complete it.

  • Custom User Avatar

    Floating point errors are not accounted for.

  • Custom User Avatar

    Class Complex. Again?

  • Custom User Avatar

    Random testing is too limited. Just do it the normal way.

    ( Call it "random testing" instead of "no cheating" while you're at it. There's no rason to use ugly words. )