'When the input is an array, if model_set_axis=False then it must
broadcast with the shapes of the parameters (excluding the
model_set_axis).
Otherwise all dimensions must be broadcastable.'

def test_1d_array_parameters_1d_array_input(self):

    t = TModel_1_1([[1, 2, 3], [4, 5, 6]], [[10, 20, 30], [40, 50, 60]], n_models=2)
    with pytest.raises(ValueError):
        y1 = t([100, 200, 300])
    y1 = t([100, 200])
    assert (np.shape(y1) == (2, 3))
    assert np.all((y1 == [[111, 122, 133], [244, 255, 266]]))
    with pytest.raises(ValueError):
        y2 = t([100, 200], model_set_axis=False)
    y2 = t([100, 200, 300], model_set_axis=False)
    assert (np.shape(y2) == (2, 3))
    assert np.all((y2 == [[111, 222, 333], [144, 255, 366]]))
