(I)
| 131 | |
| 132 | @pytest.mark.parametrize("I", test_data) |
| 133 | def test_rea(I): |
| 134 | L = 5 |
| 135 | excl_factor = 1 |
| 136 | cac = naive_cac(I, L, excl_factor) |
| 137 | n_regimes = 3 |
| 138 | ref = naive_rea(cac, n_regimes, L, excl_factor) |
| 139 | comp = _rea(cac, n_regimes, L, excl_factor) |
| 140 | npt.assert_almost_equal(ref, comp) |
| 141 | |
| 142 | |
| 143 | @pytest.mark.parametrize("I", test_data) |