Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Jul 29, 2017
1 parent 837c607 commit 0451e6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgsgeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4017,6 +4017,7 @@ void TestQgsGeometry::ellipse()
QCOMPARE( l->numPoints(), 5 ); // closed linestring
QgsPointSequence pts_l;
l->points( pts_l );
pts_l.pop_back();
QCOMPARE( pts, pts_l );

// polygon
Expand Down Expand Up @@ -4445,6 +4446,7 @@ void TestQgsGeometry::regularPolygon()
QCOMPARE( l->pointN( 0 ), l->pointN( 4 ) );
QgsPointSequence pts_l;
l->points( pts_l );
pts_l.pop_back();
QCOMPARE( ptsPol, pts_l );

//test toString
Expand Down

0 comments on commit 0451e6d

Please sign in to comment.