summaryrefslogtreecommitdiff
path: root/test/map
diff options
context:
space:
mode:
Diffstat (limited to 'test/map')
-rw-r--r--test/map/map.test.cpp4
-rw-r--r--test/map/transform.test.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp
index 0eebc93f32..9e37f97b8b 100644
--- a/test/map/map.test.cpp
+++ b/test/map/map.test.cpp
@@ -316,7 +316,7 @@ TEST(Map, DefaultBoundOptions) {
EXPECT_EQ(*bounds.minZoom, util::MIN_ZOOM);
EXPECT_EQ(*bounds.maxZoom, util::DEFAULT_MAX_ZOOM);
- EXPECT_EQ(*bounds.bounds, LatLngBounds::unbounded());
+ EXPECT_EQ(*bounds.bounds, LatLngBounds());
}
TEST(Map, MapOptions) {
@@ -1053,4 +1053,4 @@ TEST(Map, NoHangOnMissingImage) {
test.map.jumpTo(test.map.getStyle().getDefaultCamera());
// The test passes if the following call does not hang.
test.frontend.render(test.map);
-} \ No newline at end of file
+}
diff --git a/test/map/transform.test.cpp b/test/map/transform.test.cpp
index 84fdb06b21..95fb744206 100644
--- a/test/map/transform.test.cpp
+++ b/test/map/transform.test.cpp
@@ -609,7 +609,7 @@ TEST(Transform, LatLngBounds) {
transform.jumpTo(CameraOptions().withCenter(LatLng()).withZoom(transform.getState().getMaxZoom()));
// Default bounds.
- ASSERT_EQ(transform.getState().getLatLngBounds(), LatLngBounds::unbounded());
+ ASSERT_EQ(transform.getState().getLatLngBounds(), LatLngBounds());
ASSERT_EQ(transform.getLatLng(), nullIsland);
// Invalid bounds.
@@ -617,7 +617,7 @@ TEST(Transform, LatLngBounds) {
transform.setLatLngBounds(LatLngBounds::empty());
ASSERT_TRUE(false) << "Should throw";
} catch (...) {
- ASSERT_EQ(transform.getState().getLatLngBounds(), LatLngBounds::unbounded());
+ ASSERT_EQ(transform.getState().getLatLngBounds(), LatLngBounds());
}
transform.jumpTo(CameraOptions().withCenter(sanFrancisco));