Skip to content

Commit

Permalink
Fix conversion error
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 9, 2020
1 parent 9cedf32 commit cdc4794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgis.cpp
Expand Up @@ -356,7 +356,7 @@ void TestQgis::testQgsRound()
QGSCOMPARENEAR( qgsRound( 98765432198, 13 ), 98765432198, 1.0 );
QGSCOMPARENEAR( qgsRound( 98765432198, 14 ), 98765432198, 1.0 );
QGSCOMPARENEAR( qgsRound( 98765432198765, 14 ), 98765432198765, 1.0 );
QGSCOMPARENEAR( qgsRound( 98765432198765432, 20 ), 98765432198765432, 1.0 );
QGSCOMPARENEAR( qgsRound( 98765432198765432., 20 ), 98765432198765432., 1.0 );
QGSCOMPARENEAR( qgsRound( 9.8765432198765, 2 ), 9.88, 0.001 );
QGSCOMPARENEAR( qgsRound( 9.8765432198765, 3 ), 9.877, 0.0001 );
QGSCOMPARENEAR( qgsRound( 9.8765432198765, 4 ), 9.8765, 0.00001 );
Expand Down

0 comments on commit cdc4794

Please sign in to comment.