pez-globo / pufferfish-software

All software for the Pufferfish ventilator.
Apache License 2.0
0 stars 1 forks source link

Implement ability to set multiple buffers in MockDevice #254

Closed renjipanicker closed 3 years ago

renjipanicker commented 3 years ago

Is your feature request related to a problem? Please describe. In its current implementation, the MockDevice has single pair of buffers, one for reads and one for writes. When testing scenarios where reads/writes are performed multiple times, this single buffer-pair is insufficient.

Describe the solution you'd like Implement the ability to set a array of buffers for reading and writing, so that any higher-level object, including test cases, can read/write a sequence of buffers.

ethanjli commented 3 years ago

@renjipanicker Would it be possible for either you or @rohanpurohit to take up this issue? If so, I'll remove myself from the list of assignees and add one of you to it

renjipanicker commented 3 years ago

I'll take it up. I should have assigned it to myself earlier.