Skip to content
Permalink
Browse files
Update tests/src/core/testqgsgeometryutils.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
tschmetzer and nyalldawson committed Jan 6, 2022
1 parent b213306 commit 7cdde559de9c797c6e71ba9c320fa9eafd3e4ff2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/geometry/testqgsgeometryutils.cpp
@@ -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) );

0 comments on commit 7cdde55

Please sign in to comment.