diff options
author | Hans Bolinder <[email protected]> | 2015-05-18 09:11:45 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-05-18 09:11:45 +0200 |
commit | 40732b962a7bf6300f82f5662a68df2f940b2026 (patch) | |
tree | 6d5056ad30a2920c68f64aae6d5e046f70210f73 /lib/stdlib/test/sets_test_lib.erl | |
parent | 9a81b28598fadc44bf506354c9227e41aac786f6 (diff) | |
parent | f584a60d0e5a6fa0a8002a13e8dda2a790031427 (diff) | |
download | otp-40732b962a7bf6300f82f5662a68df2f940b2026.tar.gz otp-40732b962a7bf6300f82f5662a68df2f940b2026.tar.bz2 otp-40732b962a7bf6300f82f5662a68df2f940b2026.zip |
Merge branch 'evilbluebeaver/iterator_from'
* evilbluebeaver/iterator_from:
stdlib: Add gb_sets:iterator_from
stdlib: Add gb_trees:iterator_from
Diffstat (limited to 'lib/stdlib/test/sets_test_lib.erl')
-rw-r--r-- | lib/stdlib/test/sets_test_lib.erl | 5 |
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); |