Commit b3820700 authored by Matthieu Boileau's avatar Matthieu Boileau

Check results

parent bb391d87
!_TAG_FILE_SORTED 2 /0=unsorted, 1=sorted, 2=foldcase/
......@@ -20,3 +20,7 @@ if __name__ == '__main__':
a = np.random.rand(N, N)
run("np.multiply(a, a)")
if np.array_equal(np.multiply(a, a), ne.evaluate('a*a')):
print("Both give same results.")
print("results are different!")
Markdown is supported
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