Skip to content

Commit

Permalink
Update to test for bug #52
Browse files Browse the repository at this point in the history
  • Loading branch information
jranalli committed Sep 16, 2022
1 parent 5c941d6 commit 03e03a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/test_devbugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ def test_bug_git52(self):
T = 500
h = sub.h(T=T, p=p)
s = sub.s(T=T, p=p)
assert sub.T_s(s, p) == approx(sub.T_s(s, p=p))
assert sub.T_s(s, p) == approx(sub.T_s(s=s, p=p))
assert sub.T_h(h, p) == approx(sub.T_h(h, p=p))
assert sub.T_h(h, p) == approx(sub.T_h(h=h, p=p))
if hasattr(sub, "p_s"):
assert sub.p_s(s, T) == approx(sub.p_s(s, T=T))
assert sub.p_s(s, T) == approx(sub.p_s(s=s, T=T))
if hasattr(sub, "d_s"):
assert sub.d_s(s, T) == approx(sub.d_s(s, T=T))
assert sub.d_s(s, T) == approx(sub.d_s(s=s, T=T))

0 comments on commit 03e03a9

Please sign in to comment.