aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index e004d61..925fe72 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -204,7 +204,7 @@ fn test3<T: TypeWithSuper>(some: T) {
println!("{}", dyn_trait);
}
-use std::collections::{BTreeSet, BinaryHeap, HashSet, LinkedList, VecDeque};
+use std::collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet, LinkedList, VecDeque};
#[dynamize::dynamize]
trait Collections {
@@ -228,6 +228,10 @@ trait CollectionsRequiringEq {
fn binary_heap(&self) -> BinaryHeap<Self::A>;
fn btree_set(&self) -> BTreeSet<Self::A>;
+
+ fn hash_map(&self) -> HashMap<Self::A, Self::A>;
+
+ fn btree_map(&self) -> BTreeMap<Self::A, Self::A>;
}
#[dynamize::dynamize]