Exemplo n.º 1
0
def test_parse_args_list():
    x = [np.random.random((3, 3))] * 2
    args = ('o', )
    assert helpers.parse_args(x, args) == [('o', ), ('o', )]
Exemplo n.º 2
0
def test_parse_args_array():
    x = [np.random.random((3, 3))]
    args = ('o', )
    assert helpers.parse_args(x, args) == [('o', )]