Esempio n. 1
0
def test_map_is_valid(map_name):
    """Use validator to check all the valid maps are correctly layered, therefore accepted."""

    assert check_squares(map_name) == True
Esempio n. 2
0
def test_map_is_invalid(map_name):
    """Use validator to check the invalid map is not accepted."""

    assert check_squares(map_name) != True
Esempio n. 3
0
def test_map_is_invalid(map_name):
    assert check_squares(map_name) != True