diff --git a/tests/test_dateline.py b/tests/test_dateline.py index d41a563..3de28cb 100644 --- a/tests/test_dateline.py +++ b/tests/test_dateline.py @@ -46,3 +46,10 @@ def test_should_fail_with_no_crs(): with pytest.raises(ValueError): transform_bounds(boundsArr, crs) + +def test_exact_180_not_crossing(): + crs = {'init': 'epsg:4326'} + boundsArr = densify(make_bounds_array(BoundingBox(179.912109375, -18.369140625, 180.0, -18.28125))) + + transformedBounds = transform_bounds(boundsArr, crs) + assert winding_order(transformedBounds) == False \ No newline at end of file