def test_map_is_valid(map_name): """ Use validator to check all the valid maps are correctly layered, therefore accepted. """ assert check_tiles(map_name) is True
def test_map_is_invalid(map_name, map_exception): """ Use validator to check the invalid map is not accepted. """ with pytest.raises(map_exception): check_tiles(map_name)
def test_map_is_invalid(map_name): """ Use validator to check the invalid map is not accepted. """ assert check_tiles(map_name) is not True