def test_remove_multiple_duplicate_values(): ds = DataStructure([1, 5, 2, 5, 3, 4, 5]) ds.remove(5) assert 5 not in ds.values
def test_remove_single_value(): ds = DataStructure([1, 2, 3, 4, 5]) ds.remove(5) assert 5 not in ds.values