aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/sets_test_lib.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-05-12 14:15:40 +0200
committerHans Bolinder <[email protected]>2015-05-18 09:04:52 +0200
commitf584a60d0e5a6fa0a8002a13e8dda2a790031427 (patch)
tree6d5056ad30a2920c68f64aae6d5e046f70210f73 /lib/stdlib/test/sets_test_lib.erl
parentddc4e717df1da722682b6ccdbf152a6b7e15f378 (diff)
downloadotp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.tar.gz
otp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.tar.bz2
otp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.zip
stdlib: Add gb_sets:iterator_from
Diffstat (limited to 'lib/stdlib/test/sets_test_lib.erl')
-rw-r--r--lib/stdlib/test/sets_test_lib.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdlib/test/sets_test_lib.erl b/lib/stdlib/test/sets_test_lib.erl
index 86f009a8f9..772139406d 100644
--- a/lib/stdlib/test/sets_test_lib.erl
+++ b/lib/stdlib/test/sets_test_lib.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2004-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2004-2015. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -34,7 +34,10 @@ new(Mod, Eq) ->
(is_empty, S) -> is_empty(Mod, S);
(is_set, S) -> Mod:is_set(S);
(is_subset, {S,Set}) -> is_subset(Mod, Eq, S, Set);
+ (iterator, S) -> Mod:iterator(S);
+ (iterator_from, {Start, S}) -> Mod:iterator_from(Start, S);
(module, []) -> Mod;
+ (next, I) -> Mod:next(I);
(singleton, E) -> singleton(Mod, E);
(size, S) -> Mod:size(S);
(subtract, {S1,S2}) -> subtract(Mod, S1, S2);