def test_remove_spots():
    """
    """

    trajs = Trajectories(data.brownian_trajs_df())
    new_trajs = trajs.remove_spots([(3, 2), (0, 0)], inplace=False)

    new_indexes = [(0, 1), (0, 2), (0, 3), (0, 4), (1, 0), (1, 1), (1, 2),
                   (1, 3), (1, 4), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4),
                   (3, 0), (3, 1), (3, 3), (3, 4), (4, 0), (4, 1), (4, 2),
                   (4, 3), (4, 4)]

    assert new_trajs.index.tolist() == new_indexes

    new_trajs = trajs.remove_spots((0, 0), inplace=False)

    new_indexes = [(0, 1), (0, 2), (0, 3), (0, 4), (1, 0), (1, 1), (1, 2),
                   (1, 3), (1, 4), (2, 0), (2, 1), (2, 2), (2, 3), (2, 4),
                   (3, 0), (3, 1), (3, 2), (3, 3), (3, 4), (4, 0), (4, 1),
                   (4, 2), (4, 3), (4, 4)]

    assert new_trajs.index.tolist() == new_indexes