Skip to content

Commit

Permalink
test: test split da
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu committed Aug 4, 2022
1 parent b03d330 commit 6220a2a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,25 @@ def test_numpy_softmax(shape, axis):
),
(3, 1),
),
(
DocumentArray(
[
Document(text='hello, world'),
Document(tensor=np.array([0, 1, 2])),
Document(
uri='https://docarray.jina.ai/_static/favicon.png'
).load_uri_to_blob(),
Document(
tensor=np.array([0, 1, 2]),
uri='https://docarray.jina.ai/_static/favicon.png',
),
Document(
uri='https://docarray.jina.ai/_static/favicon.png',
),
]
),
(1, 4),
),
(
DocumentArray(
[
Expand Down

0 comments on commit 6220a2a

Please sign in to comment.