
Hashmaps are still very primitive. These tests check that there are at least no regressions in hashmap support.
35 строки
449 Б
Text
35 строки
449 Б
Text
map length: 2
|
|
map read: answer = 42
|
|
answer = 42
|
|
foo = 3
|
|
map length: 1
|
|
map read: data = 3
|
|
data = 3
|
|
map length: 12
|
|
map read: three = 3
|
|
one = 1
|
|
two = 2
|
|
three = 3
|
|
four = 4
|
|
five = 5
|
|
six = 6
|
|
seven = 7
|
|
eight = 8
|
|
nine = 9
|
|
ten = 10
|
|
eleven = 11
|
|
twelve = 12
|
|
map length: 12
|
|
map read: ten = 10
|
|
one = 1
|
|
two = 2
|
|
three = 3
|
|
four = 4
|
|
five = 5
|
|
six = 6
|
|
seven = 7
|
|
eight = 8
|
|
nine = 9
|
|
ten = 10
|
|
eleven = 11
|
|
twelve = 12
|