(I)
| 120 | |
| 121 | @pytest.mark.parametrize("I", test_data) |
| 122 | def test_cac_custom_iac(I): |
| 123 | L = 5 |
| 124 | excl_factor = 1 |
| 125 | ref = naive_cac(I, L, excl_factor) |
| 126 | custom_iac = naive_iac(I.shape[0]) |
| 127 | bidirectional = True |
| 128 | comp = _cac(I, L, bidirectional, excl_factor, custom_iac) |
| 129 | npt.assert_almost_equal(ref, comp) |
| 130 | |
| 131 | |
| 132 | @pytest.mark.parametrize("I", test_data) |