Test readers and writers should fail after a configurable number of bytes.
Test reading when more bytes follow what is being tested.
Full test coverage isn't a must-have, but it would bring some peace of mind. There are many, many places I/O can fail, and the library should be consistent in the way it handles them.
Test readers and writers should fail after a configurable number of bytes.
Test reading when more bytes follow what is being tested.
Full test coverage isn't a must-have, but it would bring some peace of mind. There are many, many places I/O can fail, and the library should be consistent in the way it handles them.