def test_opposing_border_location_for_west_location(): """ Tests opposing_border_location """ board = Board() size = board.maze.maze_size assert board.opposing_border_location(BoardLocation(1, 0)) == BoardLocation( 1, size - 1)
def test_opposing_border_location_for_south_location(): """ Tests opposing_border_location """ board = Board() size = board.maze.maze_size assert board.opposing_border_location(BoardLocation(size - 1, 3)) == BoardLocation( 0, 3)