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

Function AssertColumnEq

cpp/src/arrow/csv/parser_test.cc:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void AssertColumnEq(const BlockParser& parser, int32_t col_index,
206 const std::vector<std::string>& expected) {
207 std::vector<std::string> values;
208 GetColumn(parser, col_index, &values);
209 ASSERT_EQ(parser.num_rows(), expected.size());
210 ASSERT_EQ(values, expected);
211}
212
213void AssertColumnEq(const BlockParser& parser, int32_t col_index,
214 const std::vector<std::string>& expected,

Callers 1

AssertColumnsEqFunction · 0.85

Calls 3

GetColumnFunction · 0.70
num_rowsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected