Exemplo n.º 1
0
def test_mapping_with_bounds_out_far_bounds():
    coord = get_elevation.mapping_with_bounds(12,11,0.003, 15)
    assert coord == None
Exemplo n.º 2
0
def test_mapping_with_bounds_on_boundaries():
    coord = get_elevation.mapping_with_bounds(10,10,0.003, 15)
    assert coord == 0
Exemplo n.º 3
0
def test_mapping_with_bounds_in_bounds():
    coord = get_elevation.mapping_with_bounds(11.042,11,0.003, 15)
    assert coord == 13
Exemplo n.º 4
0
def test_mapping_with_bounds_top_left():
    coord = get_elevation.mapping_with_bounds(10,11,0.003, 15)
    assert coord == None