Skip to content

Commit

Permalink
Update expected test result
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 22, 2020
1 parent f9bc990 commit 076fe2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/gui/testqgsdatumtransformdialog.cpp
Expand Up @@ -85,8 +85,7 @@ void TestQgsDatumTransformDialog::defaultTransform()
def = dlg2.defaultDatumTransform();
QCOMPARE( def.sourceCrs.authid(), QStringLiteral( "EPSG:4326" ) );
QCOMPARE( def.destinationCrs.authid(), QStringLiteral( "EPSG:26742" ) );
QCOMPARE( def.proj, QStringLiteral( "+proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=WGS84 +step +proj=helmert +x=8 +y=-159 +z=-175 +step +inv +proj=cart +ellps=clrk66 +step +proj=pop +v_3 +step +proj=lcc +lat_0=37.6666666666667 +lon_0=-122 +lat_1=39.8333333333333 +lat_2=38.3333333333333 +x_0=609601.219202438 +y_0=0 +ellps=clrk66 +step +proj=unitconvert +xy_in=m +z_in=m +xy_out=us-ft +z_out=us-ft" ) );

QCOMPARE( def.proj, QStringLiteral( "+proj=pipeline +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=WGS84 +step +proj=helmert +x=8 +y=-159 +z=-175 +step +inv +proj=cart +ellps=clrk66 +step +proj=pop +v_3 +step +proj=lcc +lat_0=37.6666666666667 +lon_0=-122 +lat_1=39.8333333333333 +lat_2=38.3333333333333 +x_0=609601.219202438 +y_0=0 +ellps=clrk66 +step +proj=unitconvert +xy_in=m +xy_out=us-ft" ) );
#else
Q_NOWARN_DEPRECATED_PUSH
QgsDatumTransformDialog dlg( QgsCoordinateReferenceSystem( QStringLiteral( "EPSG:26742" ) ), QgsCoordinateReferenceSystem( QStringLiteral( "EPSG:4326" ) ) );
Expand Down

0 comments on commit 076fe2b

Please sign in to comment.