Skip to content

Commit

Permalink
Do not expect forced control point in output
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Aug 25, 2017
1 parent 8c8426f commit c51db21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/testqgscurve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void TestQgsCurve::curveToLine()
/* op: Maximum of 70 degrees of angle, symmetric */
/* See https://issues.qgis.org/issues/16722 */
TEST_C2L( circularString, 70 * M_PI / 180, QgsAbstractGeometry::MaximumAngle,
"LineString (0 0, 50 86.6, 100 100, 150 86.6, 200 0)", 2 );
"LineString (0 0, 50 86.6, 150 86.6, 200 0)", 2 );

/* input: 2 arcs of 2 quadrants each (180 degrees + 180 degrees other direction) */
circularString.reset( dynamic_cast<QgsCircularString *>(
Expand All @@ -112,7 +112,7 @@ void TestQgsCurve::curveToLine()

/* op: Maximum of M_PI / 3 degrees of angle */
TEST_C2L( circularString, M_PI / 3, QgsAbstractGeometry::MaximumAngle,
"LineString (0 0, 50 86.6, 100 100, 150 86.6, 200 0, 250 -86.6, 300 -100, 350 -86.6, 400 0)", 2 );
"LineString (0 0, 50 86.6, 150 86.6, 200 0, 250 -86.6, 350 -86.6, 400 0)", 2 );
}


Expand Down

0 comments on commit c51db21

Please sign in to comment.