Skip to content

Commit

Permalink
add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg committed Jul 21, 2020
1 parent d75068d commit baad03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def test_optim_with_value(backend, source, spec, mu):
return_fitted_val=True,
)
assert pyhf.tensorlib.tolist(result)
assert pyhf.tensorlib.shape(fitted_val) == (1,)


@pytest.mark.parametrize('mu', [1.0], ids=['mu=1'])
Expand Down

0 comments on commit baad03d

Please sign in to comment.