Пример #1
0
def ray_probe_box10_100():
    """Ray probe inside the box, width = 10."""
    t = tg_box1(tg())
    for i in xrange(100):
        t.ray_probe(t.coords2index(15, 10), t.DIRECTIONS['RIGHT'], 10)
Пример #2
0
def bfs_probe_box():
    """BFS probe from the box in the center."""
    t = tg_box1(tg())
    t.bfs_probe(t.coords2index(15, 10))