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

Method Check

cpp/src/arrow/compute/kernels/select_k_test.cc:1099–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1097// Test basic cases for table.
1098struct TestSelectKWithTable : public ::testing::Test {
1099 void Check(const std::shared_ptr<Schema>& schm,
1100 const std::vector<std::string>& input_json, const SelectKOptions& options,
1101 const std::vector<std::string>& expected) {
1102 std::shared_ptr<Table> actual;
1103 ASSERT_OK(this->DoSelectK(schm, input_json, options, &actual));
1104 ASSERT_TABLES_EQUAL(*TableFromJSON(schm, expected), *actual);
1105 }
1106
1107 Status DoSelectK(const std::shared_ptr<Schema>& schm,
1108 const std::vector<std::string>& input_json,

Callers

nothing calls this directly

Calls 2

DoSelectKMethod · 0.95
TableFromJSONFunction · 0.85

Tested by

no test coverage detected