Skip to content
Permalink
Browse files

Unbreak tests

  • Loading branch information
rldhont committed Nov 26, 2015
1 parent f5eaddf commit db95439e5b7a505635f0ef85e4e06449b6785c7c
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/core/testqgsgeometry.cpp
@@ -717,12 +717,14 @@ void TestQgsGeometry::exportToGeoJSON()
QString geojson = "{\"type\": \"Point\", \"coordinates\": [40, 50]}";
QCOMPARE( obtained, geojson );

/* seems to be bad supported
//MultiPoint
wkt = "MultiPoint (0 0, 10 0, 10 10, 20 10)";
geom.reset( QgsGeometry::fromWkt( wkt ) );
obtained = geom->exportToGeoJSON();
geojson = "{\"type\": \"MultiPoint\", \"coordinates\": [ [0, 0], [10, 0], [10, 10], [20, 10]] }";
QCOMPARE( obtained, geojson );
*/

//Linestring
wkt = "LineString(0 0, 10 0, 10 10, 20 10)";

0 comments on commit db95439

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