File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 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();
You can’t perform that action at this time.
0 commit comments