Beispiel #1
0
def test_lng_gt_180_multiple():
    assert ll.lat_lng(0, 360.0) == (0, 0.0)
Beispiel #2
0
def test_lng_gt_180_muliple_2():
    assert ll.lat_lng(0, 380.1) == (0, 20.1)
Beispiel #3
0
def test_lng_lt_neg_180_multiple():
    assert ll.lat_lng(0, -360.0) == (0, 0.0)
Beispiel #4
0
def test_lng_lt_neg_180_multiple_2():
    assert ll.lat_lng(0, -380.1) == (0, -20.1)
Beispiel #5
0
def test_lng_lt_neg_180():
    assert ll.lat_lng(0, -180.1) == (0, 179.9)
Beispiel #6
0
def test_lng_gt_neg_180():
    assert ll.lat_lng(0, -100.1) == (0, -100.1)
Beispiel #7
0
def test_lng_eq_180():
    assert ll.lat_lng(0, 180.0) == (0, -180.0)
Beispiel #8
0
def test_lng_lt_180():
    assert ll.lat_lng(0, 80.1) == (0, 80.1)
Beispiel #9
0
def test_lng_gt_180():
    assert ll.lat_lng(0, 180.1) == (0, -179.9)