1
Fork 0

Pinching myself for certainty. ;p

This commit is contained in:
Roy Frostig 2010-08-26 20:02:07 -07:00
parent 66b5b9567c
commit 1035ad93dd

View file

@ -102,6 +102,10 @@ fn test_removal() {
ret (u / 2u) * 2u;
}
check (hash(0u) == hash(1u));
check (hash(2u) == hash(3u));
check (hash(0u) != hash(2u));
let map.hashfn[uint] hasher = hash;
let map.eqfn[uint] eqer = eq;
let map.hashmap[uint, uint] hm = map.mk_hashmap[uint, uint](hasher, eqer);