Skip to content
Permalink
Browse files
Add minor test for m
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
  • Loading branch information
Koyaani and lbartoletti committed Oct 18, 2021
1 parent c9d128d commit a5680539bac9e59535f07bcdaa78650b969b0cf5
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/core/geometry/testqgscircularstring.cpp
@@ -139,6 +139,7 @@ void TestQgsCircularString::constructorFrom3Points()
QCOMPARE( cs.xAt( 0 ), 1.0 );
QCOMPARE( cs.yAt( 0 ), 2.0 );
QCOMPARE( cs.pointN( 0 ).z(), 3.0 );
QVERIFY( std::isnan( cs.pointN( 0 ).m() ) );
QCOMPARE( cs.xAt( 1 ), 21.0 );
QCOMPARE( cs.yAt( 1 ), 22.0 );
QCOMPARE( cs.pointN( 1 ).z(), 23.0 );

0 comments on commit a568053

Please sign in to comment.