(size)
| 572 | |
| 573 | def test_BufferWriter(): |
| 574 | def allocate(size): |
| 575 | cbuf = global_context.new_buffer(size) |
| 576 | writer = cuda.BufferWriter(cbuf) |
| 577 | return cbuf, writer |
| 578 | |
| 579 | def test_writes(total_size, chunksize, buffer_size=0): |
| 580 | cbuf, writer = allocate(total_size) |
no outgoing calls
no test coverage detected