Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add minor test for z
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
  • Loading branch information
Koyaani and lbartoletti committed Oct 18, 2021
1 parent a568053 commit 16e8bbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/geometry/testqgscircularstring.cpp
Expand Up @@ -156,6 +156,7 @@ void TestQgsCircularString::constructorFrom3Points()
QCOMPARE( cs.xAt( 0 ), 1.0 );
QCOMPARE( cs.yAt( 0 ), 2.0 );
QCOMPARE( cs.pointN( 0 ).m(), 3.0 );
QVERIFY( std::isnan( cs.pointN( 0 ).z() ) );
QCOMPARE( cs.xAt( 1 ), 21.0 );
QCOMPARE( cs.yAt( 1 ), 22.0 );
QCOMPARE( cs.pointN( 1 ).m(), 23.0 );
Expand Down

0 comments on commit 16e8bbc

Please sign in to comment.