File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,22 @@ def test__itrf_transformation_step_failure():
176176 _itrf_transformation_step ("ITRF2022" , "ITRF93" )
177177
178178
179+ def test__itrf_transformation_step_fwd ():
180+ """Test that the forward transform is returned."""
181+ expected = "+step +init=ITRF2014:ITRF2008"
182+ actual_step = _itrf_transformation_step ("ITRF2014" , "ITRF2008" )
183+
184+ assert expected == actual_step
185+
186+
187+ def test__itrf_transformation_step_inv ():
188+ """Test that the forward transform is returned."""
189+ expected = "+step +inv +init=ITRF2014:ITRF2008"
190+ actual_step = _itrf_transformation_step ("ITRF2008" , "ITRF2014" )
191+
192+ assert expected == actual_step
193+
194+
179195@pytest .mark .parametrize ("timezone" , ["America/Denver" , "UTC" ])
180196def test__datetime_to_decimal_year (timezone , monkeypatch ):
181197 monkeypatch .setenv ("TZ" , timezone )
You can’t perform that action at this time.
0 commit comments