Skip to content

Commit

Permalink
Followup acfdcd9 - more qgsDoubleToString test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 12, 2015
1 parent 80cfbbf commit b113d2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgis.cpp
Expand Up @@ -123,6 +123,7 @@ void TestQGis::permissiveToInt()
void TestQGis::doubleToString()
{
QCOMPARE( qgsDoubleToString( 5.6783212, 5 ), QString( "5.67832" ) );
QCOMPARE( qgsDoubleToString( 5.5555555, 5 ), QString( "5.55556" ) );
QCOMPARE( qgsDoubleToString( 12.2, 1 ), QString( "12.2" ) );
QCOMPARE( qgsDoubleToString( 12.2, 2 ), QString( "12.2" ) );
QCOMPARE( qgsDoubleToString( 12.2, 10 ), QString( "12.2" ) );
Expand Down

0 comments on commit b113d2a

Please sign in to comment.