New probe seq swaps 1st two keys. Fix in compare.
This commit is contained in:
parent
0a3e732b9f
commit
db257669c3
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ block tableTest1:
|
||||||
for y in 0..1:
|
for y in 0..1:
|
||||||
assert t[(x,y)] == $x & $y
|
assert t[(x,y)] == $x & $y
|
||||||
assert($t ==
|
assert($t ==
|
||||||
"{(x: 0, y: 0): 00, (x: 0, y: 1): 01, (x: 1, y: 0): 10, (x: 1, y: 1): 11}")
|
"{(x: 0, y: 1): 01, (x: 0, y: 0): 00, (x: 1, y: 0): 10, (x: 1, y: 1): 11}")
|
||||||
|
|
||||||
block tableTest2:
|
block tableTest2:
|
||||||
var t = newTable[string, float]()
|
var t = newTable[string, float]()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue