| 41 | ::testing::AddGlobalTestEnvironment(new ComputeKernelEnvironment); |
| 42 | |
| 43 | void AssertConvertedArray(const std::shared_ptr<Array>& expected_array, |
| 44 | const std::shared_ptr<Array>& converted_array, uint64_t size, |
| 45 | Type::type arrow_type) { |
| 46 | ASSERT_EQ(converted_array->type_id(), arrow_type); |
| 47 | ASSERT_EQ(converted_array->length(), size); |
| 48 | ASSERT_EQ(expected_array->ToString(), converted_array->ToString()); |
| 49 | } |
| 50 | |
| 51 | std::shared_ptr<Array> convertArray(const std::shared_ptr<Array>& original_array, |
| 52 | CDataType c_type) { |
no test coverage detected