Skip to content

Commit

Permalink
Update tests/src/core/testqgsgeometryutils.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
tschmetzer and nyalldawson committed Jan 6, 2022
1 parent b213306 commit 7cdde55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/geometry/testqgsgeometryutils.cpp
Expand Up @@ -742,7 +742,7 @@ void TestQgsGeometryUtils::testPerpendicularCenterSegment()

QgsGeometryUtils::perpendicularCenterSegment( centerPoint.x(),centerPoint.y(), segmentPoint1.x(), segmentPoint1.y(), segmentPoint2.x(), segmentPoint2.y(),
perpendicularSegmentPoint1x, perpendicularSegmentPoint1y, perpendicularSegmentPoint2x, perpendicularSegmentPoint2y);
QCOMPARE( perpendicularSegmentPoint1x, (3) );
QCOMPARE( perpendicularSegmentPoint1x, 3.0 );
QCOMPARE( perpendicularSegmentPoint1y, (1.5) );
QCOMPARE( perpendicularSegmentPoint2x, (1) );
QCOMPARE( perpendicularSegmentPoint2y, (1.5) );
Expand Down

0 comments on commit 7cdde55

Please sign in to comment.