Exemplo n.º 1
0
def test_隣り合っている格子点の判定ができること(this, other, result):
    this_grid = GridPoint(this[0], this[1])
    other_grid = GridPoint(other[0], other[1])
    assert this_grid.is_neighbor(other_grid) == result