()
| 959 | |
| 960 | |
| 961 | def test_print_array(): |
| 962 | batch = make_recordbatch(10) |
| 963 | cbuf = cuda.serialize_record_batch(batch, global_context) |
| 964 | cbatch = cuda.read_record_batch(cbuf, batch.schema) |
| 965 | arr = batch["f0"] |
| 966 | carr = cbatch["f0"] |
| 967 | assert str(carr) == str(arr) |
| 968 | |
| 969 | batch = make_recordbatch(100) |
| 970 | cbuf = cuda.serialize_record_batch(batch, global_context) |
| 971 | cbatch = cuda.read_record_batch(cbuf, batch.schema) |
| 972 | arr = batch["f0"] |
| 973 | carr = cbatch["f0"] |
| 974 | assert str(carr) == str(arr) |
| 975 | |
| 976 | |
| 977 | @pytest.mark.parametrize("size", [10, 100]) |
nothing calls this directly
no test coverage detected