Skip to content
Snippets Groups Projects
Commit f84815d3 authored by Raphael Sturgis's avatar Raphael Sturgis
Browse files

minor

parent 4e3e573f
No related branches found
No related tags found
2 merge requests!12version 0.2a,!10Resolve "Image creation bugs with 0 size windows"
......@@ -320,21 +320,3 @@ class TestAISTrajectory(unittest.TestCase):
def test_apply_func_on_window(self):
self.assertRaises(ValueError, apply_func_on_window,np.arange(10), 0, 0, 'not valid string')
def test_shift_trajectory_to_coordinates_no_change(self):
trajectory = AISTrajectory(
pd.DataFrame(
{
"latitude": [0, 90, 0, -90],
"longitude": [0, 90, 180, -90],
"ts_sec": [i for i in range(4)]
}
)
)
result = trajectory.shift_trajectory_to_coordinates(point_index=0)
pd.testing.assert_frame_equal(trajectory.df.reset_index(drop=True), result.df.reset_index(drop=True))
def test_shift_trajectory_to_coordinates_change_1(self):
self.assertTrue(True)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment