Skip to content

Commit

Permalink
Add test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlondschien committed Oct 3, 2024
1 parent 679d579 commit bb0260f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ def test_kclass_summary(test, n, mx, k, mc, fit_intercept):

assert table.feature_names == names

if k < mx:
assert summary.f_statistic_ > 0
assert 0 <= summary.f_p_value_ <= 1

assert summary.j_statistic_ > 0
assert 0 <= summary.j_p_value_ <= 1

summary_string = str(summary)
for name in names:
assert name in summary_string
Expand Down

0 comments on commit bb0260f

Please sign in to comment.