Fix data for empty RRE rect test
The given data was not a correct RRE rect.
This commit is contained in:
parent
9b115a4485
commit
da75689f4c
|
@ -93,7 +93,10 @@ describe('RRE Decoder', function () {
|
|||
display.fillRect(2, 0, 2, 2, [ 0x00, 0xff, 0x00 ]);
|
||||
display.fillRect(0, 2, 2, 2, [ 0x00, 0xff, 0x00 ]);
|
||||
|
||||
testDecodeRect(decoder, 1, 2, 0, 0, [ 0x00, 0xff, 0xff, 0xff, 0xff ], display, 24);
|
||||
testDecodeRect(decoder, 1, 2, 0, 0,
|
||||
[ 0x00, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0xff, 0xff ],
|
||||
display, 24);
|
||||
|
||||
let targetData = new Uint8Array([
|
||||
0x00, 0x00, 0xff, 255, 0x00, 0x00, 0xff, 255, 0x00, 0xff, 0x00, 255, 0x00, 0xff, 0x00, 255,
|
||||
|
|
Loading…
Reference in New Issue