| 1331 | } |
| 1332 | |
| 1333 | void AssertTakeCCC(const std::shared_ptr<DataType>& type, |
| 1334 | const std::vector<std::string>& values, |
| 1335 | const std::vector<std::string>& indices, |
| 1336 | const std::vector<std::string>& expected) { |
| 1337 | ASSERT_OK_AND_ASSIGN(auto actual, TakeCCC(type, values, indices)); |
| 1338 | ValidateOutput(actual); |
| 1339 | AssertChunkedEqual(*ChunkedArrayFromJSON(type, expected), *actual.chunked_array()); |
| 1340 | } |
| 1341 | |
| 1342 | void CheckTakeXCC(const Datum& values, const std::vector<std::string>& indices, |
| 1343 | const std::vector<std::string>& expected) { |
no test coverage detected