Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reduce duration of mesh editor test
  • Loading branch information
vcloarec authored and nyalldawson committed Jul 23, 2021
1 parent 38d6c91 commit 1e3117d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/src/core/testqgsmesheditor.cpp
Expand Up @@ -953,7 +953,7 @@ void TestQgsMeshEditor::particularCases()
QgsTriangularMesh triangularMesh;
QgsMeshEditor meshEditor( &mesh, &triangularMesh );

int sideSize = 100;
int sideSize = 40;

for ( int i = 0; i < sideSize; ++i )
for ( int j = 0; j < sideSize; ++j )
Expand Down Expand Up @@ -1001,8 +1001,6 @@ void TestQgsMeshEditor::particularCases()
QVERIFY( meshEditor.isVertexOnBoundary( i ) );
}

QVERIFY( meshEditor.checkConsistency() );

QList<int> verticesToRemove;
for ( int i = 0; i < sideSize; ++i )
for ( int j = 0; j < sideSize; ++j )
Expand All @@ -1013,8 +1011,6 @@ void TestQgsMeshEditor::particularCases()
QVERIFY( meshEditor.checkConsistency() );
meshEditor.mUndoStack->undo();
QVERIFY( meshEditor.checkConsistency() );
QVERIFY( meshEditor.removeVertices( verticesToRemove, true ) == QgsMeshEditingError() );
QVERIFY( meshEditor.checkConsistency() );
}
}

Expand Down

0 comments on commit 1e3117d

Please sign in to comment.