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

Method Check

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

Source from the content-addressed store, hash-verified

232class TestSelectKWithArray : public ::testing::Test {
233 public:
234 void Check(const std::shared_ptr<DataType>& type, const std::string& array_json,
235 const SelectKOptions& options, const std::string& expected_array) {
236 std::shared_ptr<Array> actual;
237 ASSERT_OK(this->DoSelectK(type, array_json, options, &actual));
238 ASSERT_ARRAYS_EQUAL(*ArrayFromJSON(type, expected_array), *actual);
239 }
240
241 Status DoSelectK(const std::shared_ptr<DataType>& type, const std::string& array_json,
242 const SelectKOptions& options, std::shared_ptr<Array>* out) {

Callers 1

TEST_FFunction · 0.45

Calls 2

DoSelectKMethod · 0.95
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected