Skip to content

Commit

Permalink
tests: Push imrpove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas authored and PapyChacal committed Jun 10, 2024
1 parent 6db747d commit 4972b91
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_xdsl_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,14 +349,6 @@ def test_forward_src_stencil(shape, tn, factor, factor2):
normxdsl = np.linalg.norm(u.data)
# normxdsl = norm(u)

import matplotlib.pyplot as plt

# Plot and save the field
plt.imshow(u.data[0, :, :], cmap='jet')
plt.colorbar()
plt.savefig('figure.png')
plt.show()

assert not np.isclose(normdv, 0.0, rtol=1e-04)
assert np.isclose(normdv, normxdsl, rtol=1e-04)

Expand Down

0 comments on commit 4972b91

Please sign in to comment.