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

Function TestScatter

cpp/src/arrow/compute/kernels/vector_swizzle_test.cc:446–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446void TestScatter(const std::shared_ptr<DataType>& value_type,
447 const std::string& values_str, const std::string& indices_str,
448 int64_t max_index, const std::string& expected_str) {
449 auto values = ArrayFromJSON(value_type, values_str);
450 auto indices = ArrayFromJSON(int8(), indices_str);
451 auto expected = ArrayFromJSON(value_type, expected_str);
452 DoTestScatter(values, indices, max_index, expected);
453}
454
455} // namespace
456

Callers 1

TESTFunction · 0.85

Calls 2

ArrayFromJSONFunction · 0.85
DoTestScatterFunction · 0.85

Tested by

no test coverage detected