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