Add test for zero-size overlap
This commit is contained in:
committed by
Greg Hysen
parent
7f21872510
commit
31e21db5b5
@@ -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'],
|
||||
|
Reference in New Issue
Block a user