TakeXA = {TakeAAA, TakeCAC}
| 1296 | |
| 1297 | // TakeXA = {TakeAAA, TakeCAC} |
| 1298 | void CheckTakeXA(const std::shared_ptr<DataType>& type, const std::string& values_json, |
| 1299 | const std::string& indices_json, const std::string& expected_json) { |
| 1300 | auto values = ArrayFromJSON(type, values_json); |
| 1301 | auto expected = ArrayFromJSON(type, expected_json); |
| 1302 | for (auto index_type : {int8(), uint32()}) { |
| 1303 | auto indices = ArrayFromJSON(index_type, indices_json); |
| 1304 | DoCheckTakeXA(values, indices, expected); |
| 1305 | } |
| 1306 | } |
| 1307 | |
| 1308 | void CheckTakeXADictionary(std::shared_ptr<DataType> value_type, |
| 1309 | const std::string& dictionary_values, |
no test coverage detected