From 023eaed7799676d035ebbddfa2425fbc65aec772 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 18 Jul 2020 22:10:12 +0100 Subject: [PATCH] test resources --- src/test-resources/expected.bitsy | 136 +++++++++++++++++++++++++++++ src/test-resources/test.png | Bin 0 -> 234 bytes src/test-resources/test.png.base64 | 1 + 3 files changed, 137 insertions(+) create mode 100644 src/test-resources/expected.bitsy create mode 100644 src/test-resources/test.png create mode 100644 src/test-resources/test.png.base64 diff --git a/src/test-resources/expected.bitsy b/src/test-resources/expected.bitsy new file mode 100644 index 0000000..2babd18 --- /dev/null +++ b/src/test-resources/expected.bitsy @@ -0,0 +1,136 @@ +Write your game's title here + +# BITSY VERSION 7.1 + +! ROOM_FORMAT 1 + +PAL 0 +NAME blueprint +0,82,204 +128,159,255 +255,255,255 + +ROOM 0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,a,a,a,a,a,a,a,a,a,a,a,a,a,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,a,a,a,a,a,a,a,a,a,a,a,a,a,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +NAME example room +PAL 0 + +TIL a +11111111 +10000001 +10000001 +10011001 +10011001 +10000001 +10000001 +11111111 +NAME block + +TIL b +00011000 +00111000 +00011000 +00011000 +00011000 +00011000 +00011000 +00111100 + +TIL c +00111100 +01100110 +01100110 +00001100 +00011000 +00110000 +01100000 +01111110 + +TIL d +00111100 +01100110 +01100110 +00001100 +00001100 +01100110 +01100110 +00111100 + +SPR A +00011000 +00011000 +00011000 +00111100 +01111110 +10111101 +00100100 +00100100 +POS 0 4,4 + +SPR a +00000000 +00000000 +01010001 +01110001 +01110010 +01111100 +00111100 +00100100 +NAME cat +DLG 0 +POS 0 8,12 + +ITM 0 +00000000 +00000000 +00000000 +00111100 +01100100 +00100100 +00011000 +00000000 +NAME tea +DLG 1 + +ITM 1 +00000000 +00111100 +00100100 +00111100 +00010000 +00011000 +00010000 +00011000 +NAME key +DLG 2 + +DLG 0 +I'm a cat +NAME cat dialog + +DLG 1 +You found a nice warm cup of tea +NAME tea dialog + +DLG 2 +A key! {wvy}What does it open?{wvy} +NAME key dialog + +VAR a +42 + diff --git a/src/test-resources/test.png b/src/test-resources/test.png new file mode 100644 index 0000000000000000000000000000000000000000..63df3da79a050bcecb58acdb9f38760cbe7d0503 GIT binary patch literal 234 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQY^(zo*^7SP{WbZ0pu_Aba4!c zXni}?o3F)y$N90~_x+n9&#qALP}(Wgd}aG0-zl?dq9&wpF#M>kckZoLp7~ej@teiB z-rq2K{*FJE^F+<+Vh^^Hhod&8*Ld}-T}`~(^=Ec&jE3%-fZmB&=Vx4FG%gT%FoA&~ z^TVli3*r`pe|KniFKNjBqNHT-S~6tbN^8zg)6EihQxuh!u10(2~cr>mdKI;Vst0E5t39smFU literal 0 HcmV?d00001 diff --git a/src/test-resources/test.png.base64 b/src/test-resources/test.png.base64 new file mode 100644 index 0000000..5ddea92 --- /dev/null +++ b/src/test-resources/test.png.base64 @@ -0,0 +1 @@ +data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAQCAYAAACm53kpAAAABHNCSVQICAgIfAhkiAAAAKFJREFUWIXtlUsOhDAMQ+MR97+yWc2oIEgiuRqD1LeiTZSafFqQZAgA+H1/Q417I5n9LOPso9rv2DLn7g9dCch8q3NIBsnDWrFnfEqPJtVh3Yr8m21cKC2sUI2Ras+Y1gEzcBTgkAAAafDKrqBeoFf3QIdHdIBr9CIiMOsZVJ6pOwlVNbMY3WQhIqQEvJ1HjICTlQC3ADcrAW4BblYC3ALc7G8AeCXlW6MUAAAAAElFTkSuQmCC \ No newline at end of file