(I)
| 142 | |
| 143 | @pytest.mark.parametrize("I", test_data) |
| 144 | def test_fluss(I): |
| 145 | L = 5 |
| 146 | excl_factor = 1 |
| 147 | custom_iac = naive_iac(I.shape[0]) |
| 148 | ref_cac = naive_cac(I, L, excl_factor) |
| 149 | n_regimes = 3 |
| 150 | ref_rea = naive_rea(ref_cac, n_regimes, L, excl_factor) |
| 151 | comp_cac, comp_rea = fluss(I, L, n_regimes, excl_factor, custom_iac) |
| 152 | npt.assert_almost_equal(ref_cac, comp_cac) |
| 153 | npt.assert_almost_equal(ref_rea, comp_rea) |
| 154 | |
| 155 | |
| 156 | def test_floss(): |