Skip to content

Commit

Permalink
Updated tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
AramisDuf committed May 26, 2024
1 parent bce44ca commit 5ed2e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/spcqe/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_transform1(self):
)
spq1.fit(sig)
transformed_b1 = spq1.transform(sig)
np.testing.assert_allclose(transformed_a1, transformed_b1, rtol=1e-5, atol=1e-6)
np.testing.assert_allclose(transformed_a1, transformed_b1, rtol=1e-3, atol=1e-5)

def test_transform2(self):
sig = np.load(os.path.join(self.directory, 'pvsig.npy'))
Expand All @@ -47,7 +47,7 @@ def test_transform2(self):
)
spq2.fit(sig)
transformed_b2 = spq2.transform(sig)
np.testing.assert_allclose(transformed_a2, transformed_b2, rtol=1e-5, atol=1e-8)
np.testing.assert_allclose(transformed_a2, transformed_b2, rtol=1e-3, atol=1e-5)

if __name__ == "__main__":
unittest.main()

0 comments on commit 5ed2e71

Please sign in to comment.