Skip to content

Commit 2dec146

Browse files
committed
A few more tests (the ones failing are in latest dim of 4dim case)
1 parent 93915c4 commit 2dec146

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ndarray/test_concatenate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
([121, 121, 101], [121, 121, 10], "i8", -1),
2525
# 4-dimensional arrays
2626
([21, 121, 101, 10], [2, 121, 101, 10], "f4", 0),
27+
([121, 21, 101, 10], [121, 12, 101, 10], "i8", 1),
28+
([121, 121, 10, 10], [121, 121, 1, 10], "i8", 2),
2729
# TODO: this test fails
2830
# ([121, 121, 101, 2], [121, 121, 101, 10], "i8", -1),
2931
],
@@ -47,6 +49,8 @@ def test_concat2(shape1, shape2, dtype, axis):
4749
([121, 121, 101], [121, 121, 10], [121, 121, 1], "i4", 2),
4850
# # 4-dimensional arrays
4951
([21, 121, 101, 10], [2, 121, 101, 10], [1, 121, 101, 10], "f4", 0),
52+
([121, 21, 101, 10], [121, 12, 101, 10], [121, 1, 101, 10], "i8", 1),
53+
([121, 121, 10, 10], [121, 121, 1, 10], [121, 121, 3, 10], "i8", 2),
5054
# TODO: this test fails
5155
# ([121, 121, 101, 2], [121, 121, 101, 10], [121, 121, 101, 1], "i8", -1),
5256
],

0 commit comments

Comments
 (0)