| 4926 | } |
| 4927 | |
| 4928 | void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) { |
| 4929 | struct ArrowDeviceArray c_array; |
| 4930 | ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array)); |
| 4931 | |
| 4932 | DeviceArrayExportGuard guard(&c_array); |
| 4933 | ASSERT_TRUE(ArrowDeviceArrayIsReleased(&c_array)); |
| 4934 | } |
| 4935 | |
| 4936 | void AssertStreamNext(struct ArrowDeviceArrayStream* c_stream, |
| 4937 | const RecordBatch& expected) { |
nothing calls this directly
no test coverage detected