MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / buffer_readBytes_zeroLen

Method buffer_readBytes_zeroLen

tests/test_provider.cpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 void buffer_readBytes_zeroLen() {
175 BufferProvider p(QByteArray(4, '\0'));
176 QByteArray result = p.readBytes(0, 0);
177 QCOMPARE(result.size(), 0);
178 }
179
180 // ---------------------------------------------------------------
181 // BufferProvider -- isReadable boundary checks

Callers

nothing calls this directly

Calls 2

readBytesMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected