Exemple #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
Exemple #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
Exemple #3
0
def test_map_is_invalid(map_name):
    assert check_squares(map_name) != True