def test_dfs(): room = rooms.randomRoom(8,8,1,1,30,1) print room point_list1 = list( room.obstacle_locations ) h = list_of_points_to_adj_hash(point_list1) print h
def test_randomGen(): room = rooms.randomRoom(8,8,1,1,30,1) print room point_list1 = list( room.__dict__['obstacle_locations'] ) h = list_of_points_to_adj_hash(point_list1) r = size_dfs(h) for i in r: print i,':', r[i] print r;