'When given an array input it must be broadcastable with all the
parameters.'

def test_mixed_array_parameters_1d_array_input(self):

    t = TModel_1_2([[[0.01, 0.02, 0.03], [0.04, 0.05, 0.06]], [[0.07, 0.08, 0.09], [0.1, 0.11, 0.12]]], [1, 2, 3], [100, 200, 300])
    (y1, z1) = t([10, 20, 30])
    assert (np.shape(y1) == np.shape(z1) == (2, 2, 3))
    assert_allclose(y1, [[[11.01, 22.02, 33.03], [11.04, 22.05, 33.06]], [[11.07, 22.08, 33.09], [11.1, 22.11, 33.12]]])
    assert_allclose(z1, [[[111.01, 222.02, 333.03], [111.04, 222.05, 333.06]], [[111.07, 222.08, 333.09], [111.1, 222.11, 333.12]]])
    (y2, z2) = t([[[[10]]], [[[20]]], [[[30]]]])
    assert (np.shape(y2) == np.shape(z2) == (3, 2, 2, 3))
    assert_allclose(y2, [[[[11.01, 12.02, 13.03], [11.04, 12.05, 13.06]], [[11.07, 12.08, 13.09], [11.1, 12.11, 13.12]]], [[[21.01, 22.02, 23.03], [21.04, 22.05, 23.06]], [[21.07, 22.08, 23.09], [21.1, 22.11, 23.12]]], [[[31.01, 32.02, 33.03], [31.04, 32.05, 33.06]], [[31.07, 32.08, 33.09], [31.1, 32.11, 33.12]]]])
    assert_allclose(z2, [[[[111.01, 212.02, 313.03], [111.04, 212.05, 313.06]], [[111.07, 212.08, 313.09], [111.1, 212.11, 313.12]]], [[[121.01, 222.02, 323.03], [121.04, 222.05, 323.06]], [[121.07, 222.08, 323.09], [121.1, 222.11, 323.12]]], [[[131.01, 232.02, 333.03], [131.04, 232.05, 333.06]], [[131.07, 232.08, 333.09], [131.1, 232.11, 333.12]]]])
