summaryrefslogtreecommitdiff
path: root/test/util/geo.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/geo.test.cpp')
-rw-r--r--test/util/geo.test.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/util/geo.test.cpp b/test/util/geo.test.cpp
index 3dfa8e1cca..d0d01b6f88 100644
--- a/test/util/geo.test.cpp
+++ b/test/util/geo.test.cpp
@@ -33,21 +33,6 @@ TEST(LatLng, InvalidLatLng) {
}
}
-TEST(ProjectedMeters, InvalidProjectedMeters) {
- try {
- ProjectedMeters { NAN };
- ASSERT_TRUE(false) << "should throw";
- } catch (const std::domain_error& error) {
- ASSERT_EQ(std::string(error.what()), "northing must not be NaN");
- }
- try {
- ProjectedMeters { 0, NAN };
- ASSERT_TRUE(false) << "should throw";
- } catch (const std::domain_error& error) {
- ASSERT_EQ(std::string(error.what()), "easting must not be NaN");
- }
-}
-
TEST(EdgeInsets, InvalidEdgeInsets) {
try {
EdgeInsets { NAN };