Add test for zero-size overlap

This commit is contained in:
Remco Bloemen
2018-05-28 14:13:39 +02:00
committed by Greg Hysen
parent 7f21872510
commit 31e21db5b5

View File

@@ -57,7 +57,9 @@ describe('LibMem', () => {
expect(result).to.deep.equal(expected);
}),
);
test([[0, 0, 0, 'copies zero bytes with overlap']]);
describe('copies forward', () => test([
[128, 0, 0, 'zero bytes'],
[128, 0, 1, 'one byte'],