First successful hashmap lookups. Yay.
This commit is contained in:
parent
e846643d23
commit
2dc3a37f93
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ fn test_simple() {
|
|||
hm.insert(10u, 12u);
|
||||
hm.insert(11u, 13u);
|
||||
hm.insert(12u, 14u);
|
||||
|
||||
check (hm.get(11u) == 13u);
|
||||
check (hm.get(12u) == 14u);
|
||||
|
||||
log "*** finished test_simple";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue