Skip to content

Commit d5f028d

Browse files
committed
Revert changes in test_binding
1 parent 6d8ef58 commit d5f028d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

tests/test_binding.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import pytest
22
import past
33

4-
5-
64
def test_gemm():
75
prog_a = "gemm/vanilla.c"
86
prog_b = "gemm/acc-inter.c"
97
out_var = "C"
10-
ret = past.verify(prog_a, prog_b, out_var)
11-
print("return value: ", ret)
8+
is_equivalent = past.verify(prog_a, prog_b, out_var)
9+
assert is_equivalent
10+
1211

1312
if __name__ == "__main__":
14-
# pytest.main([__file__])
15-
# print("All tests passed!")
16-
test_gemm()
13+
pytest.main([__file__])
14+
print("All tests passed!")

0 commit comments

Comments
 (0)