| 32 | }; |
| 33 | |
| 34 | ArrayPtr TestAnnotator::MakeInt32Array(int length) { |
| 35 | arrow::Status status; |
| 36 | |
| 37 | auto validity = *arrow::AllocateBuffer((length + 63) / 8); |
| 38 | |
| 39 | auto values = *arrow::AllocateBuffer(length * sizeof(int32_t)); |
| 40 | |
| 41 | auto array_data = arrow::ArrayData::Make(arrow::int32(), length, |
| 42 | {std::move(validity), std::move(values)}); |
| 43 | return arrow::MakeArray(array_data); |
| 44 | } |
| 45 | |
| 46 | TEST_F(TestAnnotator, TestAdd) { |
| 47 | Annotator annotator; |
nothing calls this directly
no test coverage detected