aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/dict_test_lib.erl
diff options
context:
space:
mode:
authorbeaver <[email protected]>2015-03-25 18:03:26 +0300
committerHans Bolinder <[email protected]>2015-05-18 09:04:52 +0200
commitddc4e717df1da722682b6ccdbf152a6b7e15f378 (patch)
tree4d88c65a1ffcfe3bcb03b52ba638844297eb2292 /lib/stdlib/test/dict_test_lib.erl
parent9a81b28598fadc44bf506354c9227e41aac786f6 (diff)
downloadotp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.tar.gz
otp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.tar.bz2
otp-ddc4e717df1da722682b6ccdbf152a6b7e15f378.zip
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.