| 35 | namespace arrow { |
| 36 | |
| 37 | void CheckView(const std::shared_ptr<Array>& input, |
| 38 | const std::shared_ptr<DataType>& view_type, |
| 39 | const std::shared_ptr<Array>& expected) { |
| 40 | ASSERT_OK_AND_ASSIGN(auto result, input->View(view_type)); |
| 41 | ASSERT_OK(result->ValidateFull()); |
| 42 | AssertArraysEqual(*expected, *result); |
| 43 | } |
| 44 | |
| 45 | void CheckView(const std::shared_ptr<Array>& input, |
| 46 | const std::shared_ptr<Array>& expected_view) { |
no test coverage detected