Ver Fonte

smt.py: add missing check for position

zero há 2 anos atrás
pai
commit
abc318b096
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      script/research/smt.py

+ 1 - 0
script/research/smt.py

@@ -98,5 +98,6 @@ for bit, other_node in zip(bits, path):
     nodes = (other_node, node) if bit else (node, other_node)
     node = hash_node(*nodes)
 assert root == node
+assert pos == 5
 print("Passed")