| 96 | } |
| 97 | |
| 98 | void CheckSlices(std::shared_ptr<RecordBatch> batch) { |
| 99 | std::vector<int> starts = {0, 1, 300, 301, 302, 303, 304, 305, 306, 307}; |
| 100 | std::vector<int> sizes = {0, 1, 7, 8, 30, 32, 100}; |
| 101 | for (auto start : starts) { |
| 102 | for (auto size : sizes) { |
| 103 | CheckSlice(batch, start, size); |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void CheckRoundtrip(std::shared_ptr<RecordBatch> batch) { |
| 109 | std::vector<std::shared_ptr<RecordBatch>> batches = {batch}; |
nothing calls this directly
no outgoing calls
no test coverage detected