def test_serialize(self): g = Grid(4, 3) level_dict = g.serialize_level() print(level_dict) level_json = json.dumps(level_dict) print(level_dict[1][1])
def test_import_level(self): g = Grid(4, 3) level_dict = g.serialize_level() level = g.import_level(level_dict) print(g)