diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-13 14:45:22 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 11:25:45 -0700 |
commit | 6eab895bc0683881f793a3a751fa7470603ae9a0 (patch) | |
tree | 5e1b231702bb1c93e6a0c8823500a6e6980b0970 /test/style | |
parent | 615a6685a47609310930890203f41815a5f19d48 (diff) | |
download | qtlocation-mapboxgl-6eab895bc0683881f793a3a751fa7470603ae9a0.tar.gz |
[core] Use Range<uint8_t> instead of full Tileset where possible
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/style_parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/style/style_parser.cpp b/test/style/style_parser.cpp index aba5ec67bd..02a4077ab9 100644 --- a/test/style/style_parser.cpp +++ b/test/style/style_parser.cpp @@ -93,8 +93,8 @@ TEST(StyleParser, ParseTileJSONRaster) { SourceType::Raster, 256); - EXPECT_EQ(0, result->minZoom); - EXPECT_EQ(15, result->maxZoom); + EXPECT_EQ(0, result->zoomRange.min); + EXPECT_EQ(15, result->zoomRange.max); EXPECT_EQ("attribution", result->attribution); #if !defined(__ANDROID__) && !defined(__APPLE__) EXPECT_EQ("mapbox://tiles/mapbox.satellite/{z}/{x}/{y}{ratio}.webp", result->tiles[0]); @@ -110,8 +110,8 @@ TEST(StyleParser, ParseTileJSONVector) { SourceType::Vector, 256); - EXPECT_EQ(0, result->minZoom); - EXPECT_EQ(15, result->maxZoom); + EXPECT_EQ(0, result->zoomRange.min); + EXPECT_EQ(15, result->zoomRange.max); EXPECT_EQ("attribution", result->attribution); EXPECT_EQ("mapbox://tiles/mapbox.streets/{z}/{x}/{y}.vector.pbf", result->tiles[0]); } |