test: add hashmap tests

Hashmaps are still very primitive. These tests check that there are at
least no regressions in hashmap support.
This commit is contained in:
Ayke van Laethem
2018-10-10 14:11:15 +02:00
parent 0ce5347409
commit 0ed00bf6c6
2 changed files with 68 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
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