Skip to content
Permalink
Browse files

indent

  • Loading branch information
lbartoletti committed Aug 25, 2020
1 parent fc98d1d commit edd0f444f994ab22a741411c79871d8d9cbf3c13
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsgeometry.cpp
QCOMPARE( c.asWkt(), QStringLiteral( "CircularString (0 1, 2 3, 3 4)" ) );
QVERIFY( c.fromWkt( "CircularString(0 1e3, -2 3, +3 4)" ) );
QCOMPARE( c.asWkt(), QStringLiteral( "CircularString (0 1000, -2 3, 3 4)" ) );

QVERIFY( c.fromWkt( "CircularString ((0 0,1 1,2 0))" ) ); // Added from an old test with an invalid wkt, but allowed in QGIS https://github.com/qgis/QGIS/pull/38439/files/59aab9dc9cc58bdc98e6d8091840bc129564ed2f#diff-fe3aa1328ee04f0eb00a1b1d59c0ea71L4247
QCOMPARE( c.asWkt(), QStringLiteral( "CircularString (0 0, 1 1, 2 0)" ) );

QCOMPARE( mpoly.asWkt(), QStringLiteral( "MultiPolygon EMPTY" ) );
QVERIFY( mpoly.fromWkt( "MultiPolygon EMPTY" ) );
QCOMPARE( mpoly.asWkt(), QStringLiteral( "MultiPolygon EMPTY" ) );

// multilinestring
QgsMultiLineString mline;
QVERIFY( ! mline.fromWkt( "MultiLineString((LineString( 0 0, 1 1, 2 2))" ) );

0 comments on commit edd0f44

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