diff options
Diffstat (limited to 'tests/auto/qgeopath/tst_qgeopath.cpp')
-rw-r--r-- | tests/auto/qgeopath/tst_qgeopath.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qgeopath/tst_qgeopath.cpp b/tests/auto/qgeopath/tst_qgeopath.cpp index 86ff137d..43028427 100644 --- a/tests/auto/qgeopath/tst_qgeopath.cpp +++ b/tests/auto/qgeopath/tst_qgeopath.cpp @@ -180,6 +180,10 @@ void tst_QGeoPath::path() for (const QGeoCoordinate &c : coords) { QCOMPARE(p.path().contains(c), true); } + + p.clearPath(); + QCOMPARE(p.path().size(), 0); + QVERIFY(p.boundingGeoRectangle().isEmpty()); } void tst_QGeoPath::width() |