def test_place_numbers(): return pathfind.place_numbers((1, 0), world_array, ['.', '*', '!'], 'a')
def profile_place_numbers(): for n in range(0 ,800000): l, p = create_random_list() #print "Starting:\n", util.array_to_string(l) #print "Changed point:", p pathfind.place_numbers(p, l, ['.', '*', '!', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k'], None)