Skip to content
Snippets Groups Projects
Commit 2b4af66d authored by Martin Bauer's avatar Martin Bauer
Browse files

Hash test update

parent f8a11805
No related merge requests found
...@@ -11,7 +11,7 @@ def test_hash_equivalence(): ...@@ -11,7 +11,7 @@ def test_hash_equivalence():
exactly the same code (not only functionally equivalent code) should be produced. exactly the same code (not only functionally equivalent code) should be produced.
Due to undefined order in sets and dicts this may no be the case. Due to undefined order in sets and dicts this may no be the case.
""" """
ref_value = "2cde9763ab71a9d5caba056e6d0011e553fa01ab71668ee32024ce3f68e7d698" ref_value = "902be811a587c52e24ce03ec78d3defbb87d58eaaafbb9b47f823b960319e4be"
ast = create_lb_ast(stencil='D3Q19', method='srt', optimization={'openmp': False}) ast = create_lb_ast(stencil='D3Q19', method='srt', optimization={'openmp': False})
code = generate_c(ast) code = generate_c(ast)
hash_value = sha256(code.encode()).hexdigest() hash_value = sha256(code.encode()).hexdigest()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment