diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-09 10:41:27 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-09 17:26:13 +0200 |
commit | d36958997b7db19d9d5e9ec8e5ea06210a598502 (patch) | |
tree | fde1d3e0c244233cb1cea5bb278c8238a48cda4b /test/text/quads.test.cpp | |
parent | b6b077d73aa63160b0860fd24e144f80f428ff1d (diff) | |
download | qtlocation-mapboxgl-d36958997b7db19d9d5e9ec8e5ea06210a598502.tar.gz |
[core] Add unit test for getAnchors and remove unused field
Diffstat (limited to 'test/text/quads.test.cpp')
-rw-r--r-- | test/text/quads.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text/quads.test.cpp b/test/text/quads.test.cpp index 64255c72db..5a78195faa 100644 --- a/test/text/quads.test.cpp +++ b/test/text/quads.test.cpp @@ -12,7 +12,7 @@ using namespace mbgl::style; TEST(getIconQuads, normal) { SymbolLayoutProperties::Evaluated layout; - Anchor anchor(2.0, 3.0, 0.0, 0.5f, 0); + Anchor anchor(2.0, 3.0, 0.0, 0); ImagePosition image = { mapbox::Bin(-1, 15, 11, 0, 0, 0, 0), style::Image::Impl("test", PremultipliedImage({1,1}), 1.0) @@ -35,7 +35,7 @@ TEST(getIconQuads, normal) { } TEST(getIconQuads, style) { - Anchor anchor(0.0, 0.0, 0.0, 0.5f, 0); + Anchor anchor(0.0, 0.0, 0.0, 0); const ImagePosition image = {mapbox::Bin(-1, 20, 20, 0, 0, 0, 0), style::Image::Impl("test", PremultipliedImage({1, 1}), 1.0)}; |