Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 15, 2019
1 parent 927b053 commit 75993af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/core/testqgscoordinatereferencesystem.cpp
Expand Up @@ -721,6 +721,8 @@ void TestQgsCoordinateReferenceSystem::mapUnits()
debugPrint( myCrs );
myCrs.createFromString( QStringLiteral( "EPSG:26812" ) );
QCOMPARE( myCrs.mapUnits(), QgsUnitTypes::DistanceFeet );
myCrs.createFromString( QStringLiteral( "EPSG:4619" ) );
QCOMPARE( myCrs.mapUnits(), QgsUnitTypes::DistanceDegrees );

// an invalid crs should return unknown unit
QCOMPARE( QgsCoordinateReferenceSystem().mapUnits(), QgsUnitTypes::DistanceUnknownUnit );
Expand Down

0 comments on commit 75993af

Please sign in to comment.