aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/dict_test_lib.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-05-18 09:11:45 +0200
committerHans Bolinder <[email protected]>2015-05-18 09:11:45 +0200
commit40732b962a7bf6300f82f5662a68df2f940b2026 (patch)
tree6d5056ad30a2920c68f64aae6d5e046f70210f73 /lib/stdlib/test/dict_test_lib.erl
parent9a81b28598fadc44bf506354c9227e41aac786f6 (diff)
parentf584a60d0e5a6fa0a8002a13e8dda2a790031427 (diff)
downloadotp-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/dict_test_lib.erl')
-rw-r--r--lib/stdlib/test/dict_test_lib.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdlib/test/dict_test_lib.erl b/lib/stdlib/test/dict_test_lib.erl
index 4fdb4fa0bd..81d26ce5f8 100644
--- a/lib/stdlib/test/dict_test_lib.erl
+++ b/lib/stdlib/test/dict_test_lib.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2008-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
@@ -29,6 +29,9 @@ new(Mod, Eq) ->
(module, []) -> Mod;
(size, D) -> Mod:size(D);
(is_empty, D) -> Mod:is_empty(D);
+ (iterator, S) -> Mod:iterator(S);
+ (iterator_from, {Start, S}) -> Mod:iterator_from(Start, S);
+ (next, I) -> Mod:next(I);
(to_list, D) -> to_list(Mod, D)
end.