def METHOD_NAME(csv_df, with_index=False):
    assert len(csv_df) == 3
    if with_index:
        assert csv_df.get_column_names() == ['x', 'y', 'index']
    else:
        assert csv_df.get_column_names() == ['x', 'y']
    assert csv_df.x.tolist() == [5, 7, 9]
    assert csv_df.y.tolist() == [6, 9, 10]