From da75689f4c3fcff11056592771495fa3806d1374 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 15 May 2023 20:50:40 +0200 Subject: [PATCH] Fix data for empty RRE rect test The given data was not a correct RRE rect. --- tests/test.rre.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test.rre.js b/tests/test.rre.js index 8e006f87..ac3aabbb 100644 --- a/tests/test.rre.js +++ b/tests/test.rre.js @@ -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,