Skip to content
Permalink
Browse files

More qgsRound tests

  • Loading branch information
manisandro committed Oct 13, 2015
1 parent a9baeb1 commit 2ddc07163dc006ddabf5cc917c958d6515ab569a
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/core/testqgis.cpp
@@ -147,6 +147,8 @@ void TestQGis::qgsround()
QCOMPARE( qgsRound( 2718281828459.045 ), 2718281828459. );
QCOMPARE( qgsRound( -314159265358979.3 ), -314159265358979. );
QCOMPARE( qgsRound( -2718281828459.045 ), -2718281828459. );
QCOMPARE( qgsRound( 1.5 ), 2. );
QCOMPARE( qgsRound( -1.5 ), -2. );
}

QTEST_MAIN( TestQGis )

0 comments on commit 2ddc071

Please sign in to comment.
You can’t perform that action at this time.