Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Koyaani committed Dec 2, 2021
1 parent c6ca666 commit 7aaf1ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/core/geometry/testqgsregularpolygon.cpp
Expand Up @@ -47,12 +47,12 @@ void TestQgsRegularPolygon::constructors()


QgsRegularPolygon rp2;
QgsRegularPolygon( QgsPoint( 0, 0 ), 5, 0, 2,
QgsRegularPolygon::InscribedCircle ); // should be rp2 = ??
rp2 = QgsRegularPolygon( QgsPoint( 0, 0 ), 5, 0, 2,
QgsRegularPolygon::InscribedCircle );
QVERIFY( rp2.isEmpty() );

QgsRegularPolygon( QgsPoint( 0, 0 ), 5, 0, 5,
static_cast< QgsRegularPolygon::ConstructionOption >( 4 ) ); // should be rp2 = ??
rp2 = QgsRegularPolygon( QgsPoint( 0, 0 ), 5, 0, 5,
static_cast< QgsRegularPolygon::ConstructionOption >( 4 ) );
QVERIFY( rp2.isEmpty() );

rp2 = QgsRegularPolygon( QgsPoint( 0, 0 ), 5, 0, 5,
Expand Down

0 comments on commit 7aaf1ec

Please sign in to comment.