def test_interp_array_list_interpval(): assert helpers.interp_array_list( [np.array([[1, 2, 3], [1, 2, 3], [1, 2, 3]])], interp_val=10)[0].shape[0] == 20
def test_interp_array_list(): assert np.allclose( helpers.interp_array_list(np.array([[1, 2, 3], [1, 2, 3]])), [np.linspace(1, 2.9, 20)] * 2)