Skip to content
Permalink
Browse files

Fix windows build

  • Loading branch information
nyalldawson committed Apr 6, 2016
1 parent 3ba3986 commit 99980bea0cb027d711b423894c227df6f1a25a34
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgspoint.cpp
@@ -706,7 +706,7 @@ void TestQgsPoint::vector()

// length
QCOMPARE( v1.length(), 0.0 );
QVERIFY( qgsDoubleNear( v2.length(), sqrt( 5 ), 0.000000001 ) );
QVERIFY( qgsDoubleNear( v2.length(), sqrt( 5.0 ), 0.000000001 ) );

// perpVector
QCOMPARE( QgsVector( 2, 3 ).perpVector().x(), -3.0 );

0 comments on commit 99980be

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