repair broken map test; it seems that the original test relied on hokey
hash fns in order to setup conflicts. I just removed those asserts, so the test is not as good as it once was.
This commit is contained in:
parent
7bf0aa1c43
commit
ebd3203eaf
1 changed files with 0 additions and 3 deletions
|
|
@ -658,9 +658,6 @@ mod tests {
|
|||
fn test_removal() {
|
||||
debug!("*** starting test_removal");
|
||||
let num_to_insert: uint = 64u;
|
||||
assert (hash(&0u) == hash(&1u));
|
||||
assert (hash(&2u) == hash(&3u));
|
||||
assert (hash(&0u) != hash(&2u));
|
||||
let hm: map::HashMap<uint, uint> =
|
||||
map::HashMap::<uint, uint>();
|
||||
let mut i: uint = 0u;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue