Skip to content

Commit b113d2a

Browse files
committed
Followup acfdcd9 - more qgsDoubleToString test
1 parent 80cfbbf commit b113d2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/src/core/testqgis.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ void TestQGis::permissiveToInt()
123123
void TestQGis::doubleToString()
124124
{
125125
QCOMPARE( qgsDoubleToString( 5.6783212, 5 ), QString( "5.67832" ) );
126+
QCOMPARE( qgsDoubleToString( 5.5555555, 5 ), QString( "5.55556" ) );
126127
QCOMPARE( qgsDoubleToString( 12.2, 1 ), QString( "12.2" ) );
127128
QCOMPARE( qgsDoubleToString( 12.2, 2 ), QString( "12.2" ) );
128129
QCOMPARE( qgsDoubleToString( 12.2, 10 ), QString( "12.2" ) );

0 commit comments

Comments
 (0)