Skip to content

Commit

Permalink
corrected the sample value in pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
lohitv96 committed Apr 19, 2022
1 parent cdd2031 commit cde3b52
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
def test_samples_shape():
assert samples.shape == (n_samples, 1, len(x), len(t))


def test_samples_values():
print(samples[13, 0, 13, 6])
assert np.isclose(samples[13, 0, 13, 6], 0.22392952712490516, rtol=0.01)
assert np.isclose(samples[13, 0, 13, 6], -1.4385717324103362, rtol=0.01)

0 comments on commit cde3b52

Please sign in to comment.