Check that test starts from a known state

(cherry picked from commit c11f155a492694a2fbc512b954a17a53f6e1c228)
This commit is contained in:
Nyall Dawson 2025-06-12 11:20:37 +10:00
parent ea0321e200
commit 7caa08b2c3
No known key found for this signature in database
GPG Key ID: AEA7D60D3DF12896

View File

@ -1651,6 +1651,9 @@ void TestQgsVertexTool::testSelectVerticesByPolygon()
void TestQgsVertexTool::testMoveVertexTopoOtherMapCrs()
{
QCOMPARE( mLayerLine->getFeature( mFidLineF1 ).geometry().asWkt( 2 ), "LineString (2 1, 1 1, 1 3)" );
QCOMPARE( mLayerPolygon->getFeature( mFidPolygonF1 ).geometry().asWkt( 2 ), "Polygon ((4 1, 7 1, 7 4, 4 4, 4 1))" );
// test moving of vertices of two features at once
QgsProject::instance()->setTopologicalEditing( true );