mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-09 00:05:52 -04:00
Fix tests
This commit is contained in:
parent
837c607428
commit
0451e6da7d
@ -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
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user