We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9baeb1 commit 2ddc071Copy full SHA for 2ddc071
tests/src/core/testqgis.cpp
@@ -147,6 +147,8 @@ void TestQGis::qgsround()
147
QCOMPARE( qgsRound( 2718281828459.045 ), 2718281828459. );
148
QCOMPARE( qgsRound( -314159265358979.3 ), -314159265358979. );
149
QCOMPARE( qgsRound( -2718281828459.045 ), -2718281828459. );
150
+ QCOMPARE( qgsRound( 1.5 ), 2. );
151
+ QCOMPARE( qgsRound( -1.5 ), -2. );
152
}
153
154
QTEST_MAIN( TestQGis )
0 commit comments