Skip to content

Commit 383d4ef

Browse files
rlouftwiecki
authored andcommitted
Add tests for JAX RandomVariable implementations
1 parent d647578 commit 383d4ef

File tree

2 files changed

+366
-57
lines changed

2 files changed

+366
-57
lines changed

tests/link/jax/test_basic.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,8 @@ def test_jax_checkandraise():
207207

208208
with pytest.warns(UserWarning):
209209
function((p,), res, mode=jax_mode)
210+
211+
212+
def set_test_value(x, v):
213+
x.tag.test_value = v
214+
return x

0 commit comments

Comments
 (0)