Skip to content

Commit 150e6c9

Browse files
committed
Remove misleading empty array tests.
1 parent 5e58144 commit 150e6c9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

matlab/test/arrow/c/tRoundTrip.m

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,6 @@
1919
methods (Test)
2020

2121
function EmptyArray(testCase)
22-
% Empty 0x0
23-
expected = arrow.array(double.empty(0, 0));
24-
cArray = arrow.c.Array();
25-
cSchema = arrow.c.Schema();
26-
27-
expected.export(cArray.Address, cSchema.Address);
28-
actual = arrow.array.Array.import(cArray, cSchema);
29-
30-
testCase.verifyEqual(actual, expected);
31-
32-
% Empty 0x1
33-
expected = arrow.array(double.empty(0, 1));
34-
cArray = arrow.c.Array();
35-
cSchema = arrow.c.Schema();
36-
37-
expected.export(cArray.Address, cSchema.Address);
38-
actual = arrow.array.Array.import(cArray, cSchema);
39-
40-
testCase.verifyEqual(actual, expected);
41-
42-
% Empty 1x0
4322
expected = arrow.array(double.empty(0, 1));
4423
cArray = arrow.c.Array();
4524
cSchema = arrow.c.Schema();

0 commit comments

Comments
 (0)