]> git.mxchange.org Git - simgear.git/blobdiff - simgear/bucket/test_bucket.cxx
Trying to make old gcc on Jenkins happy.
[simgear.git] / simgear / bucket / test_bucket.cxx
index 481f97e2e1b856da0e00e0ce776624723753c0de..b2bd8d085dcd5c6c5887af62d6bced5febfadfcc 100644 (file)
@@ -110,6 +110,9 @@ void testPolar()
     COMPARE(b1.get_x(), 0);
     COMPARE(b1.get_y(), 7);
     
+    COMPARE_EP(b1.get_highest_lat(), 90.0);
+    COMPARE_EP(b1.get_width_m(), 10.0);
+    
     COMPARE(b2.get_chunk_lat(), 89);
     COMPARE(b2.get_chunk_lon(), 0);
     COMPARE(b2.get_x(), 0);
@@ -137,6 +140,8 @@ void testPolar()
     COMPARE(b5.get_x(), 0);
     COMPARE(b5.get_y(), 0);
     COMPARE(b5.gen_index(), b6.gen_index());
+    COMPARE_EP(b5.get_highest_lat(), -90.0);
+    COMPARE_EP(b5.get_width_m(), 10.0);
     
     SGGeod actualSouthPole1 = b5.get_corner(0);
     SGGeod actualSouthPole2 = b5.get_corner(1);