Ad
  • Custom User Avatar

    3 random tests is not enough.

    Factor out random generation and run testing in a loop, and you should easily be able to run the normal 100 random tests without real effort. 100 is not an absolute; 50 or 200 would be fine too; 3, or on the other end, 1000, is under/overdoing it.

  • Custom User Avatar

    Please specify possible dimensions for the input.

    Specifically, if it is possible for the input not to contain any separators, please tell us so.

  • Custom User Avatar

    Consider separating rows on the map with newlines instead of pipes. That would allow you to use backtick-strings in testing, which means you can format the tests much more readably for solvers, by spreading the string over multiple lines before closing the backquotes.

    Alternatively, spread the strings over multiple lines with +.