diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/api/zoom_history.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/api/zoom_history.cpp b/test/api/zoom_history.cpp index 3c60a5e2f2..1b1159bf52 100644 --- a/test/api/zoom_history.cpp +++ b/test/api/zoom_history.cpp @@ -62,4 +62,10 @@ TEST(API, ZoomHistory) { // ZoomHistory.lastIntegerZoom should be 0. map->setZoom(0.5); test::checkImage("test/fixtures/zoom_history", frontend.render(*map), 0.0002); + + map->setZoom(1.0); + frontend.render(*map); + + map->setZoom(0.5); + test::checkImage("test/fixtures/zoom_history", frontend.render(*map), 0.0002); } |