### ----------------------------------------------------
### -- Geo::Ellipsoid
### -- Licenses: Artistic-2.0
### -- Authors: Tom Browder <tbrowder@acm.org> (translator Perl 5 to Raku, current maintainer), Jim Gibson (CPAN Perl 5 author, v1.12)
### -- File: tt/07-location.t
### ----------------------------------------------------
### -- Chunk 3 of 3
1, $lon1) = $e1->location(-67.846380,99.041109,1767.089902,8127.615993);
($lat2, $lon2) = $e2->location(-67.846380,99.041109,1767.089902,8127.615993);
delta_ok( $lat1, -67.7735027510774 );
delta_ok( $lon1, 99.0829538757835 );
delta_ok( $lat2, -67.7735027510774 );
delta_ok( $lon2, 99.0829538757835 );

($lat1, $lon1) = $e1->location(41.911754,138.151813,715.584705,2194.888534);
($lat2, $lon2) = $e2->location(41.911754,138.151813,715.584705,2194.888534);
delta_ok( $lat1, 41.9315142758588 );
delta_ok( $lon1, 138.160440601835 );
delta_ok( $lat2, 41.9315142758588 );
delta_ok( $lon2, 138.160440601835 );

($lat1, $lon1) = $e1->location(-27.100512,351.279156,-4288.353886,-6119.806043);
($lat2, $lon2) = $e2->location(-27.100512,351.279156,-4288.353886,-6119.806043);
delta_ok( $lat1, -27.1557353506078 );
delta_ok( $lon1, 351.235890988004 );
delta_ok( $lat2, -27.1557353506078 );
delta_ok( $lon2, -8.76410901199599 );

($lat1, $lon1) = $e1->location(19.497371,220.383733,4954.747397,-2856.049159);
($lat2, $lon2) = $e2->location(19.497371,220.383733,4954.747397,-2856.049159);
delta_ok( $lat1, 19.4715643857244 );
delta_ok( $lon1, 220.430924356231 );
delta_ok( $lat2, 19.4715643857244 );
delta_ok( $lon2, -139.569075643769 );

($lat1, $lon1) = $e1->location(18.396198,143.265994,958.381194,7286.761076);
($lat2, $lon2) = $e2->location(18.396198,143.265994,958.381194,7286.761076);
delta_ok( $lat1, 18.4620306038802 );
delta_ok( $lon1, 143.275067859029 );
delta_ok( $lat2, 18.4620306038802 );
delta_ok( $lon2, 143.275067859029 );

($lat1, $lon1) = $e1->location(-18.084386,221.381908,-2205.006481,5561.325186);
($lat2, $lon2) = $e2->location(-18.084386,221.381908,-2205.006481,5561.325186);
delta_ok( $lat1, -18.0341383666819 );
delta_ok( $lon1, 221.361083689563 );
delta_ok( $lat2, -18.0341383666819 );
delta_ok( $lon2, -138.638916310437 );

($lat1, $lon1) = $e1->location(46.204817,295.396070,-5484.432841,-6111.550638);
($lat2, $lon2) = $e2->location(46.204817,295.396070,-5484.432841,-6111.550638);
delta_ok( $lat1, 46.1498123310369 );
delta_ok( $lon1, 295.325077737085 );
delta_ok( $lat2, 46.1498123310369 );
delta_ok( $lon2, -64.6749222629154 );

($lat1, $lon1) = $e1->location(-30.523088,295.285416,406.600787,152.458264);
($lat2, $lon2) = $e2->location(-30.523088,295.285416,406.600787,152.458264);
delta_ok( $lat1, -30.5217130438923 );
delta_ok( $lon1, 295.289652469157 );
delta_ok( $lat2, -30.5217130438923 );
delta_ok( $lon2, -64.7103475308431 );

($lat1, $lon1) = $e1->location(13.742087,63.763606,-95.122902,-4387.882671);
($lat2, $lon2) = $e2->location(13.742087,63.763606,-95.122902,-4387.882671);
delta_ok( $lat1, 13.7024269689814 );
delta_ok( $lon1, 63.7627262988153 );
delta_ok( $lat2, 13.7024269689814 );
delta_ok( $lon2, 63.7627262988153 );

($lat1, $lon1) = $e1->location(1.554684,167.837560,2690.410011,1602.978188);
($lat2, $lon2) = $e2->location(1.554684,167.837560,2690.410011,1602.978188);
delta_ok( $lat1, 1.56918059097552 );
delta_ok( $lon1, 167.861737784577 );
delta_ok( $lat2, 1.56918059097552 );
delta_ok( $lon2, 167.861737784577 );

($lat1, $lon1) = $e1->location(40.356751,153.160097,-4697.732313,3299.388956);
($lat2, $lon2) = $e2->location(40.356751,153.160097,-4697.732313,3299.388956);
delta_ok( $lat1, 40.3864504304799 );
delta_ok( $lon1, 153.104771159051 );
delta_ok( $lat2, 40.3864504304799 );
delta_ok( $lon2, 153.104771159051 );

($lat1, $lon1) = $e1->location(46.867006,44.857631,-4396.760337,-8160.550665);
($lat2, $lon2) = $e2->location(46.867006,44.857631,-4396.760337,-8160.550665);
delta_ok( $lat1, 46.7935841133508 );
delta_ok( $lon1, 44.8000433688766 );
delta_ok( $lat2, 46.7935841133508 );
delta_ok( $lon2, 44.8000433688766 );

($lat1, $lon1) = $e1->location(-9.089458,237.666143,554.021197,2169.712645);
($lat2, $lon2) = $e2->location(-9.089458,237.666143,554.021197,2169.712645);
delta_ok( $lat1, -9.06984018685994 );
delta_ok( $lon1, 237.671182904242 );
delta_ok( $lat2, -9.06984018685994 );
delta_ok( $lon2, -122.328817095758 );

($lat1, $lon1) = $e1->location(-27.107665,34.103508,-3674.498299,-1844.633778);
($lat2, $lon2) = $e2->location(-27.107665,34.103508,-3674.498299,-1844.633778);
delta_ok( $lat1, -27.1243073483822 );
delta_ok( $lon1, 34.0664465612592 );
delta_ok( $lat2, -27.1243073483822 );
delta_ok( $lon2, 34.0664465612592 );

($lat1, $lon1) = $e1->location(5.067958,24.268528,5054.677123,6422.204117);
($lat2, $lon2) = $e2->location(5.067958,24.268528,5054.677123,6422.204117);
delta_ok( $lat1, 5.12603197726362 );
delta_ok( $lon1, 24.3141162471053 );
delta_ok( $lat2, 5.12603197726362 );
delta_ok( $lon2, 24.3141162471053 );

($lat1, $lon1) = $e1->location(-30.360974,322.538048,1267.989013,753.967422);
($lat2, $lon2) = $e2->location(-30.360974,322.538048,1267.989013,753.967422);
delta_ok( $lat1, -30.3541720736129 );
delta_ok( $lon1, 322.551236568074 );
delta_ok( $lat2, -30.3541720736129 );
delta_ok( $lon2, -37.4487634319259 );

($lat1, $lon1) = $e1->location(54.780139,8.410011,-3719.339493,-9205.903722);
($lat2, $lon2) = $e2->location(54.780139,8.410011,-3719.339493,-9205.903722);
delta_ok( $lat1, 54.6974261720386 );
delta_ok( $lon1, 8.3523242715081 );
delta_ok( $lat2, 54.6974261720386 );
delta_ok( $lon2, 8.3523242715081 );

($lat1, $lon1) = $e1->location(13.769616,110.113762,-380.806322,1252.084129);
($lat2, $lon2) = $e2->location(13.769616,110.113762,-380.806322,1252.084129);
delta_ok( $lat1, 13.78093309177 );
delta_ok( $lon1, 110.110240703272 );
delta_ok( $lat2, 13.78093309177 );
delta_ok( $lon2, 110.110240703272 );

($lat1, $lon1) = $e1->location(-64.270514,45.105873,3439.709227,-4115.446675);
($lat2, $lon2) = $e2->location(-64.270514,45.105873,3439.709227,-4115.446675);
delta_ok( $lat1, -64.3074130400444 );
delta_ok( $lon1, 45.1769508481278 );
delta_ok( $lat2, -64.3074130400444 );
delta_ok( $lon2, 45.1769508481278 );

($lat1, $lon1) = $e1->location(-45.137898,141.541847,-480.245739,1899.413779);
($lat2, $lon2) = $e2->location(-45.137898,141.541847,-480.245739,1899.413779);
delta_ok( $lat1, -45.1208065938125 );
delta_ok( $lon1, 141.535743596221 );
delta_ok( $lat2, -45.1208065938125 );
delta_ok( $lon2, 141.535743596221 );

($lat1, $lon1) = $e1->location(6.782845,255.237805,-2988.667145,1508.754049);
($lat2, $lon2) = $e2->location(6.782845,255.237805,-2988.667145,1508.754049);
delta_ok( $lat1, 6.79648733577162 );
delta_ok( $lon1, 255.21076894319 );
delta_ok( $lat2, 6.79648733577162 );
delta_ok( $lon2, -104.78923105681 );

($lat1, $lon1) = $e1->location(6.371687,279.113190,-136.703314,337.358790);
($lat2, $lon2) = $e2->location(6.371687,279.113190,-136.703314,337.358790);
delta_ok( $lat1, 6.37473803790458 );
delta_ok( $lon1, 279.111954845525 );
delta_ok( $lat2, 6.37473803790458 );
delta_ok( $lon2, -80.8880451544753 );

($lat1, $lon1) = $e1->location(44.782374,163.862303,6592.128771,6482.474659);
($lat2, $lon2) = $e2->location(44.782374,163.862303,6592.128771,6482.474659);
delta_ok( $lat1, 44.8406766505374 );
delta_ok( $lon1, 163.945679242349 );
delta_ok( $lat2, 44.8406766505374 );
delta_ok( $lon2, 163.945679242349 );

($lat1, $lon1) = $e1->location(-70.362274,322.490547,-1550.111266,2065.274611);
($lat2, $lon2) = $e2->location(-70.362274,322.490547,-1550.111266,2065.274611);
delta_ok( $lat1, -70.3437578191681 );
delta_ok( $lon1, 322.449273778159 );
delta_ok( $lat2, -70.3437578191681 );
delta_ok( $lon2, -37.5507262218411 );

($lat1, $lon1) = $e1->location(-19.715571,5.847281,-3564.890093,-4571.754065);
($lat2, $lon2) = $e2->location(-19.715571,5.847281,-3564.890093,-4571.754065);
delta_ok( $lat1, -19.7568659277085 );
delta_ok( $lon1, 5.81326755286751 );
delta_ok( $lat2, -19.7568659277085 );
delta_ok( $lon2, 5.81326755286751 );

($lat1, $lon1) = $e1->location(-69.938162,165.492639,3286.686080,-7115.046135);
($lat2, $lon2) = $e2->location(-69.938162,165.492639,3286.686080,-7115.046135);
delta_ok( $lat1, -70.0019179240387 );
delta_ok( $lon1, 165.578716457451 );
delta_ok( $lat2, -70.0019179240387 );
delta_ok( $lon2, 165.578716457451 );



