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

minor

parent a489bfa5
No related branches found
No related tags found
2 merge requests!12version 0.2a,!10Resolve "Image creation bugs with 0 size windows"
......@@ -337,24 +337,4 @@ class TestAISTrajectory(unittest.TestCase):
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):
trajectory = AISTrajectory(
pd.DataFrame(
{
"latitude": [1, 2, 3, 4],
"longitude": [1, 2, 3, 4],
"ts_sec": [i for i in range(4)]
}
)
)
result = trajectory.shift_trajectory_to_coordinates(point_index=0).df
expected = pd.DataFrame(
{
"latitude": [0, 2, 3, 4], # TBD
"longitude": [0, 1, 2, 3],
"ts_sec": [i for i in range(4)]
}
)
pd.testing.assert_frame_equal(expected.reset_index(drop=True), result.reset_index(drop=True))
\ No newline at end of file
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.
Please register or to comment