diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-01 09:58:58 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-03-04 14:45:32 +0200 |
commit | ba7427b4acf116aca7451ad3a6067dc234d3fa70 (patch) | |
tree | 106462886345e60f47bdeeaaf46580c67987b064 /test/style | |
parent | 73ac3c784fe755650dc631e2e722a47890981248 (diff) | |
download | qtlocation-mapboxgl-ba7427b4acf116aca7451ad3a6067dc234d3fa70.tar.gz |
[core] Transform{State}: s/angle/bearing/
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/style.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/style.test.cpp b/test/style/style.test.cpp index 2371e91107..7f57651331 100644 --- a/test/style/style.test.cpp +++ b/test/style/style.test.cpp @@ -33,7 +33,7 @@ TEST(Style, Properties) { style.loadJSON(R"STYLE({"bearing": 24})STYLE"); ASSERT_EQ("", style.getName()); ASSERT_EQ(LatLng {}, *style.getDefaultCamera().center); - ASSERT_EQ(24, *style.getDefaultCamera().angle); + ASSERT_EQ(24, *style.getDefaultCamera().bearing); style.loadJSON(R"STYLE({"zoom": 13.3})STYLE"); ASSERT_EQ("", style.getName()); @@ -55,7 +55,7 @@ TEST(Style, Properties) { ASSERT_EQ("", style.getName()); ASSERT_EQ(LatLng {}, *style.getDefaultCamera().center); ASSERT_EQ(0, *style.getDefaultCamera().zoom); - ASSERT_EQ(0, *style.getDefaultCamera().angle); + ASSERT_EQ(0, *style.getDefaultCamera().bearing); ASSERT_EQ(0, *style.getDefaultCamera().pitch); } |