Skip to content

Commit

Permalink
Adds test just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
tingiskhan committed Nov 2, 2024
1 parent cc5f3de commit 55c8a8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ def test_union():
key = jrnd.PRNGKey(123)
samples = combined.sample(key)

log_prob = combined.log_prob(samples)

assert samples.shape == combined.event_shape
assert combined.event_shape[-1] == 7


0 comments on commit 55c8a8d

Please sign in to comment.