Skip to content

Commit

Permalink
More qgsRound tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 13, 2015
1 parent a9baeb1 commit 2ddc071
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgis.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 2ddc071

Please sign in to comment.