def test_reverse():
    trajs = data.brownian_trajs_df()
    trajs = Trajectories(trajs)

    assert trajs.reverse().shape == (25, 5)

    trajs = data.brownian_trajs_df()
    trajs = Trajectories(trajs)
    trajs.reverse(inplace=True)

    assert trajs.shape == (25, 5)