diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-09-08 13:49:48 -0700 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-09-28 15:47:21 -0700 |
commit | 8fae8a16452a5ae17f424d1720a0aea75d0ac33a (patch) | |
tree | eba9051d4f5c9d7ebacbf608a4183ee151c10a92 /test | |
parent | 64c75b442c4d387e4867757abf49462c561e5955 (diff) | |
download | qtlocation-mapboxgl-8fae8a16452a5ae17f424d1720a0aea75d0ac33a.tar.gz |
[core] Add minzoom to GeoJSONOptions
Diffstat (limited to 'test')
-rw-r--r-- | test/style/conversion/geojson_options.test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/style/conversion/geojson_options.test.cpp b/test/style/conversion/geojson_options.test.cpp index e6bd984f36..a798ad6559 100644 --- a/test/style/conversion/geojson_options.test.cpp +++ b/test/style/conversion/geojson_options.test.cpp @@ -33,6 +33,7 @@ TEST(GeoJSONOptions, RetainsDefaults) { GeoJSONOptions defaults; // GeoJSON-VT + ASSERT_EQ(converted.minzoom, defaults.minzoom); ASSERT_EQ(converted.maxzoom, defaults.maxzoom); ASSERT_EQ(converted.buffer, defaults.buffer); ASSERT_EQ(converted.tolerance, defaults.tolerance); @@ -61,6 +62,7 @@ TEST(GeoJSONOptions, FullConversion) { GeoJSONOptions converted = *convert<GeoJSONOptions>(raw, error); // GeoJSON-VT + ASSERT_EQ(converted.minzoom, 0); ASSERT_EQ(converted.maxzoom, 1); ASSERT_EQ(converted.buffer, 2); ASSERT_EQ(converted.tolerance, 3); |