Skip to content
Permalink
Browse files

Changed to GEO_NONE, fixed a bug in test

  • Loading branch information
homann committed Sep 4, 2012
1 parent e78dc23 commit 0d1b1aa425d081fb780f1148226bf734b90f84c6
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsdistancearea.cpp
@@ -52,7 +52,7 @@ void TestQgsDistanceArea::basic()
QgsDistanceArea daA;
double resultA, resultB, resultC;

daA.setEllipsoid( "NONE" );
daA.setEllipsoid( GEO_NONE );
resultA = daA.measureLine( p1, p2 );
QCOMPARE( resultA, 5.0 );

@@ -139,7 +139,7 @@ void TestQgsDistanceArea::unit_conversions()
{
// Do some very simple test of conversion and units
QgsDistanceArea myDa;
myDa.setEllipsoidalMode( "NONE" );
myDa.setEllipsoidalMode( false );

double inputValue;
QGis::UnitType inputUnit;

0 comments on commit 0d1b1aa

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