mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Followup acfdcd92 - more qgsDoubleToString test
This commit is contained in:
parent
80cfbbf37e
commit
b113d2a8f4
@ -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" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user