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

Function AssertColumnEq

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

Source from the content-addressed store, hash-verified

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

Callers 2

AssertColumnsEqFunction · 0.85
TESTFunction · 0.85

Calls 3

GetColumnFunction · 0.70
num_rowsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected