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

Method AssertChunk

cpp/src/arrow/csv/column_decoder_test.cc:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void AssertChunk(std::vector<std::string> chunk, std::shared_ptr<Array> expected) {
107 std::shared_ptr<BlockParser> parser;
108 MakeColumnParser(chunk, &parser);
109 ASSERT_FINISHES_OK_AND_ASSIGN(auto decoded, decoder_->Decode(parser));
110 AssertArraysEqual(*expected, *decoded);
111 }
112
113 void AssertChunkInvalid(std::vector<std::string> chunk) {
114 std::shared_ptr<BlockParser> parser;

Callers

nothing calls this directly

Calls 2

MakeColumnParserFunction · 0.85
AssertArraysEqualFunction · 0.85

Tested by

no test coverage detected