Lines Matching full:hash
9 # Testing XML Node comparison and Node hash-value
30 # Next check that the hash function for the objects also works ok
31 if not (hash(foonode1) == hash(foonode2)):
32 print("Error hash values for two equal nodes are different")
34 if not (hash(foonode1) != hash(root)):
35 print("Error hash values for two unequal nodes are not different")
37 if hash(foonode1) == hash(root):
38 print("Error hash values for two unequal nodes are equal")