MCPcopy Create free account
hub / github.com/apache/arrow / CheckView

Function CheckView

cpp/src/arrow/array/array_view_test.cc:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35namespace arrow {
36
37void 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
45void CheckView(const std::shared_ptr<Array>& input,
46 const std::shared_ptr<Array>& expected_view) {

Callers 1

TESTFunction · 0.85

Calls 3

AssertArraysEqualFunction · 0.85
ValidateFullMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected