• Wrong test case!

Question related to mission Digging a Canal

  From: http://www.checkio.org/mission/digging-a-canal/solve/

Hello.
I shall inform you that one of test cases not passes preconditions:
    
     Precondition: 0 < len(land_map) < 10
     all(len(land_map) == len(row) for row in land_map)

Latter condition implies that all cases have to be square matrices. But one of the cases breaks this condition (see attached file). It's not very difficult to add another check though, but preconditions must be honoured.


Thank you in advance, A.E.

HTTP\_USER\_AGENT:

    Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0
7