| 55 | } |
| 56 | |
| 57 | void TestArrayConversion(const std::vector<std::string>& input, |
| 58 | const std::shared_ptr<Array>& expected_array, CDataType c_type, |
| 59 | Type::type arrow_type) { |
| 60 | std::shared_ptr<Array> original_array; |
| 61 | ArrayFromVector<StringType, std::string>(input, &original_array); |
| 62 | |
| 63 | auto converted_array = convertArray(original_array, c_type); |
| 64 | |
| 65 | AssertConvertedArray(expected_array, converted_array, input.size(), arrow_type); |
| 66 | } |
| 67 | |
| 68 | void TestTime32ArrayConversion(const std::vector<int32_t>& input, |
| 69 | const std::shared_ptr<Array>& expected_array, |
no test coverage detected