Skip to content

Commit

Permalink
Merge branch 'change_coverage' of https://github.com/sede-open/pyELQ
Browse files Browse the repository at this point in the history
…into change_coverage
  • Loading branch information
mattj89 committed Jul 2, 2024
2 parents 0f5e24b + 02a8fe8 commit 0641f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/component/test_source_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_coverage_function(source_model):
"""Test that the coverage function has defaulted correctly."""
random_vars = np.random.normal(0, 1, size=(10000, 1))
threshold_value = source_model.threshold_function(random_vars)
assert threshold_value.shape == (1, )
assert threshold_value.shape == (1,)
assert np.allclose(threshold_value, np.quantile(random_vars, 0.95))


Expand Down

0 comments on commit 0641f5e

Please sign in to comment.