From c5e2be53f9beb4f0f677a03b58e195cdce97838e Mon Sep 17 00:00:00 2001 From: Matthew Kilgore Date: Wed, 9 Nov 2022 21:46:50 -0500 Subject: [PATCH] Swap bmp test images for png Functionally it doesn't matter what kind of images we store for the tests, as _LOADIMAGE() will open them exactly the same. png however has the advantages of being substantially smaller, and also viewable directly on GitHub in PRs, making them easier to review. --- .../paint/tile_border_black_bg.bas | 2 +- .../paint/tile_border_black_bg.bmp | Bin 19254 -> 0 bytes .../paint/tile_border_black_bg.png | Bin 0 -> 421 bytes .../paint/tile_border_black_nocolor.bas | 2 +- .../paint/tile_border_black_nocolor.bmp | Bin 19254 -> 0 bytes .../paint/tile_border_black_nocolor.png | Bin 0 -> 382 bytes .../paint/tile_border_white_bg.bas | 2 +- .../paint/tile_border_white_bg.bmp | Bin 19254 -> 0 bytes .../paint/tile_border_white_bg.png | Bin 0 -> 425 bytes .../paint/tile_border_white_nocolor.bas | 2 +- .../paint/tile_border_white_nocolor.bmp | Bin 19254 -> 0 bytes .../paint/tile_border_white_nocolor.png | Bin 0 -> 382 bytes .../paint/tile_noborder_black_bg.bas | 2 +- .../paint/tile_noborder_black_bg.bmp | Bin 19254 -> 0 bytes .../paint/tile_noborder_black_bg.png | Bin 0 -> 421 bytes .../paint/tile_noborder_white_bg.bas | 2 +- .../paint/tile_noborder_white_bg.bmp | Bin 19254 -> 0 bytes .../paint/tile_noborder_white_bg.png | Bin 0 -> 425 bytes 18 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 tests/compile_tests/paint/tile_border_black_bg.bmp create mode 100644 tests/compile_tests/paint/tile_border_black_bg.png delete mode 100644 tests/compile_tests/paint/tile_border_black_nocolor.bmp create mode 100644 tests/compile_tests/paint/tile_border_black_nocolor.png delete mode 100644 tests/compile_tests/paint/tile_border_white_bg.bmp create mode 100644 tests/compile_tests/paint/tile_border_white_bg.png delete mode 100644 tests/compile_tests/paint/tile_border_white_nocolor.bmp create mode 100644 tests/compile_tests/paint/tile_border_white_nocolor.png delete mode 100644 tests/compile_tests/paint/tile_noborder_black_bg.bmp create mode 100644 tests/compile_tests/paint/tile_noborder_black_bg.png delete mode 100644 tests/compile_tests/paint/tile_noborder_white_bg.bmp create mode 100644 tests/compile_tests/paint/tile_noborder_white_bg.png diff --git a/tests/compile_tests/paint/tile_border_black_bg.bas b/tests/compile_tests/paint/tile_border_black_bg.bas index 83784e305..dbb63108f 100644 --- a/tests/compile_tests/paint/tile_border_black_bg.bas +++ b/tests/compile_tests/paint/tile_border_black_bg.bas @@ -13,7 +13,7 @@ _Dest test1& Circle (64, 25), 25, 7 Paint (64, 25), TILE$, 7 -AssertImage test1&, "tile_border_black_bg.bmp" +AssertImage test1&, "tile_border_black_bg.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_border_black_bg.bmp b/tests/compile_tests/paint/tile_border_black_bg.bmp deleted file mode 100644 index d5a59bc38d5a7619ba28491b2d9d46b18ffc225f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeI0OK!q25J25q^ax#76$fBjb5sn%O=;h$ti6^?v%V@f1* z58L*&qRWlnE({SMO0R8iZRfl!(}m{_jL^(a{ozq;TjZ$P;Ya73zmCh;A<)e4+jFk@ z2Q^^WB2eeyZxsHCyfuHVh#^Y={zi$fY6ZT@Gta#L$NV3y1mJI*{G~j!JU`4XAjxmZ zx%93Ff7`ggAO2l-1^Q1H%ta;eFQVyk0sdVuFDa1_@cy*~Xya?}-xzRR{M3bPpLx=| zK;7JbcL)5{{4Z6| zcQ5#B0CTN^Ui?K7z~=45bDP46hOx7_4S6Fo+k-*%fF5l;98W32_C|tAK!E)&KvY z|Ns9t`2A@EP>3Fdh=jGL3iP(8`tY#~r+vZsq+B+SLzo&uok>`YKQ)Tb1l`%Z_csYXK#tu_|a?fb!u3GddJo!jQ4i|ou^vj z8c~vxSdwa$T$Bo=7>o>zjC2hRbqy>+49u(yjI4}|v<(cb3=AfHm^2+lLvDUbW?Cg~ V4UgAqX#+Jdc)I$ztaD0e0sw7Ti}U~h literal 0 HcmV?d00001 diff --git a/tests/compile_tests/paint/tile_border_black_nocolor.bas b/tests/compile_tests/paint/tile_border_black_nocolor.bas index d6bf51b40..8dc41b96d 100644 --- a/tests/compile_tests/paint/tile_border_black_nocolor.bas +++ b/tests/compile_tests/paint/tile_border_black_nocolor.bas @@ -17,7 +17,7 @@ Line (0, 0)-(127, 49), 7, BF Circle (64, 25), 25, 0 Paint (64, 25), TILE$, 7 -AssertImage test1&, "tile_border_black_nocolor.bmp" +AssertImage test1&, "tile_border_black_nocolor.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_border_black_nocolor.bmp b/tests/compile_tests/paint/tile_border_black_nocolor.bmp deleted file mode 100644 index bdf2e6b608d07593e211f280a599c5b34a5294d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeH}O=`n17(~@u^axp(;saz`vgnO^o}RLTKoE{&BzyGfsf@uvmZkZ5(Zbi;@|Du} zb@^OUN|${9$=4I=6EeubRtgfj6Eald(k|l^=Oob*-dE$a<|NrCCVWe) zOv@ugy(vZOOUttfO*P3Z%S@$WUg|KLGEmDj zI?SfbR3$gnnAwz>O2vGoLn}+mv%)2Rr1hockpq7gD)a6O3HS)dWoa?m080;@S!JCm-CP715`h8eAk5(LB4G`S|6iFKUEq_SLjqh~;a zjFrbVUUSwd>>{E{-Je*T4Sa=suC{z;Jve78Q<{-DA1h0-`NL0*1)RH00)|WTsW(*6?_(mNrlWgQu&X%Q~loCIHcDYo7oB literal 0 HcmV?d00001 diff --git a/tests/compile_tests/paint/tile_border_white_bg.bas b/tests/compile_tests/paint/tile_border_white_bg.bas index d897c89ab..e06d94947 100644 --- a/tests/compile_tests/paint/tile_border_white_bg.bas +++ b/tests/compile_tests/paint/tile_border_white_bg.bas @@ -22,7 +22,7 @@ Pset (64, 25), 15 ' Set the starting location a third color Paint (64, 25), TILE$, 0 -AssertImage test1&, "tile_border_white_bg.bmp" +AssertImage test1&, "tile_border_white_bg.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_border_white_bg.bmp b/tests/compile_tests/paint/tile_border_white_bg.bmp deleted file mode 100644 index 35a79c041dc5ce24c297ccfa183d2cb8038c03c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeI0O>V>>429_}dW5d4Y7Q{ls*5gqpPna|oIV6HD1tzv!4UZ&B_brj=JT`jbN{-1 zI`@6QecYULZ`gjZy<>ZEuh^sE{Jw2$BtQZrKmsH{0wh2Js}k71x*Z;`x`^xfC73t2 z{X8C6fZw8|UocomNW!+z$)xP(boS<)5!5a||qVg)D0WzH)AnC4^DYOA)K;4k%x z=}?O<$eh!*ukvM^*gchC_Zzs#$ry{Oab!O*SuKtlAH9*E!wq~0^~1J)bGT~vy%Qzy^E5+ zzUFg_>w@CgujVXPEp!gkB{67E>M~{1dEH(0<9_?6# z#%sHoJJ!S>LQnoHqyT(q>T~EdHpMR~FqEy2Y%9K&`2$X@LX-Z*8Hb;;Ubt&D|ZHN~h6A+|5o#Ux^mIO$E1W14cNPq-LfCOw3_ye>0-bnxe diff --git a/tests/compile_tests/paint/tile_border_white_bg.png b/tests/compile_tests/paint/tile_border_white_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..283532dfd617ebd1ff6d1bf413337c4349b6c210 GIT binary patch literal 425 zcmeAS@N?(olHy`uVBq!ia0vp^4M1$f!VDzSgwC}ADVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMHK5uS28Lfip@tU>45bDP46hOx7_4S6Fo+k-*%fF5l;98W32|MuY88;Viec6N z|Dpf?|CipP;0@$6CV9KNu=Ho#3lRcZ$O^1|`)LegR8X5rnEd}Mt4y@Bb3 z9K%{UwFle{ANgN0&(ExJK3J`EXX?kD4E}00W`{0Y9{lZi$XukxeO8q>w?JfjyyEw% zn}AMKEpd$~Nl7e8wMs5Z1yT$~21Z7@hK9NZ79j>^Rt82^Mn>8O237_JlRiwEj-nwq bKP5A*61RrOYqhk28W=oX{an^LB{Ts5eI$(E literal 0 HcmV?d00001 diff --git a/tests/compile_tests/paint/tile_border_white_nocolor.bas b/tests/compile_tests/paint/tile_border_white_nocolor.bas index ba3f52c57..4048cf4a1 100644 --- a/tests/compile_tests/paint/tile_border_white_nocolor.bas +++ b/tests/compile_tests/paint/tile_border_white_nocolor.bas @@ -17,7 +17,7 @@ Line (0, 0)-(127, 49), 7, BF Circle (64, 25), 25, 0 Paint (64, 25), TILE$, 7 -AssertImage test1&, "tile_border_white_nocolor.bmp" +AssertImage test1&, "tile_border_white_nocolor.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_border_white_nocolor.bmp b/tests/compile_tests/paint/tile_border_white_nocolor.bmp deleted file mode 100644 index bdf2e6b608d07593e211f280a599c5b34a5294d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeH}O=`n17(~@u^axp(;saz`vgnO^o}RLTKoE{&BzyGfsf@uvmZkZ5(Zbi;@|Du} zb@^OUN|${9$=4I=6EeubRtgfj6Eald(k|l^=Oob*-dE$a<|NrCCVWe) zOv@ugy(vZOOUttfO*P3Z%S@$WUg|KLGEmDj zI?SfbR3$gnnAwz>O2vGoLn}+mv%)2Rr1hockpq7gD)a6O3HS)dWoa?m080;@S!JCm-CP715`h8eAk5(LB4G`S|6iFKUEq_SLjqh~;a zjFrbVUUSwd>>{E{-Je*T4Sa=suC{z;Jve78Q<{-DA1h0-`NL0*1)RH00)|WTsW(*6?_(mNrlWgQu&X%Q~loCIHcDYo7oB literal 0 HcmV?d00001 diff --git a/tests/compile_tests/paint/tile_noborder_black_bg.bas b/tests/compile_tests/paint/tile_noborder_black_bg.bas index f7fb58048..b76d232a5 100644 --- a/tests/compile_tests/paint/tile_noborder_black_bg.bas +++ b/tests/compile_tests/paint/tile_noborder_black_bg.bas @@ -13,7 +13,7 @@ _Dest test1& Circle (64, 25), 25, 7 Paint (64, 25), TILE$ -AssertImage test1&, "tile_noborder_black_bg.bmp" +AssertImage test1&, "tile_noborder_black_bg.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_noborder_black_bg.bmp b/tests/compile_tests/paint/tile_noborder_black_bg.bmp deleted file mode 100644 index d5a59bc38d5a7619ba28491b2d9d46b18ffc225f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeI0OK!q25J25q^ax#76$fBjb5sn%O=;h$ti6^?v%V@f1* z58L*&qRWlnE({SMO0R8iZRfl!(}m{_jL^(a{ozq;TjZ$P;Ya73zmCh;A<)e4+jFk@ z2Q^^WB2eeyZxsHCyfuHVh#^Y={zi$fY6ZT@Gta#L$NV3y1mJI*{G~j!JU`4XAjxmZ zx%93Ff7`ggAO2l-1^Q1H%ta;eFQVyk0sdVuFDa1_@cy*~Xya?}-xzRR{M3bPpLx=| zK;7JbcL)5{{4Z6| zcQ5#B0CTN^Ui?K7z~=45bDP46hOx7_4S6Fo+k-*%fF5l;98W32_C|tAK!E)&KvY z|Ns9t`2A@EP>3Fdh=jGL3iP(8`tY#~r+vZsq+B+SLzo&uok>`YKQ)Tb1l`%Z_csYXK#tu_|a?fb!u3GddJo!jQ4i|ou^vj z8c~vxSdwa$T$Bo=7>o>zjC2hRbqy>+49u(yjI4}|v<(cb3=AfHm^2+lLvDUbW?Cg~ V4UgAqX#+Jdc)I$ztaD0e0sw7Ti}U~h literal 0 HcmV?d00001 diff --git a/tests/compile_tests/paint/tile_noborder_white_bg.bas b/tests/compile_tests/paint/tile_noborder_white_bg.bas index 9987a4bd4..1f69c15c9 100644 --- a/tests/compile_tests/paint/tile_noborder_white_bg.bas +++ b/tests/compile_tests/paint/tile_noborder_white_bg.bas @@ -16,7 +16,7 @@ Line (0, 0)-(127, 49), 7, BF Circle (64, 25), 25, 0 Paint (64, 25), TILE$ -AssertImage test1&, "tile_noborder_white_bg.bmp" +AssertImage test1&, "tile_noborder_white_bg.png" System '$include:'../utilities/imageassert.bm' diff --git a/tests/compile_tests/paint/tile_noborder_white_bg.bmp b/tests/compile_tests/paint/tile_noborder_white_bg.bmp deleted file mode 100644 index 35a79c041dc5ce24c297ccfa183d2cb8038c03c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19254 zcmeI0O>V>>429_}dW5d4Y7Q{ls*5gqpPna|oIV6HD1tzv!4UZ&B_brj=JT`jbN{-1 zI`@6QecYULZ`gjZy<>ZEuh^sE{Jw2$BtQZrKmsH{0wh2Js}k71x*Z;`x`^xfC73t2 z{X8C6fZw8|UocomNW!+z$)xP(boS<)5!5a||qVg)D0WzH)AnC4^DYOA)K;4k%x z=}?O<$eh!*ukvM^*gchC_Zzs#$ry{Oab!O*SuKtlAH9*E!wq~0^~1J)bGT~vy%Qzy^E5+ zzUFg_>w@CgujVXPEp!gkB{67E>M~{1dEH(0<9_?6# z#%sHoJJ!S>LQnoHqyT(q>T~EdHpMR~FqEy2Y%9K&`2$X@LX-Z*8Hb;;Ubt&D|ZHN~h6A+|5o#Ux^mIO$E1W14cNPq-LfCOw3_ye>0-bnxe diff --git a/tests/compile_tests/paint/tile_noborder_white_bg.png b/tests/compile_tests/paint/tile_noborder_white_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..283532dfd617ebd1ff6d1bf413337c4349b6c210 GIT binary patch literal 425 zcmeAS@N?(olHy`uVBq!ia0vp^4M1$f!VDzSgwC}ADVB6cUq=Rpjs4tz5?O(Kg=CK) zUj~LMHK5uS28Lfip@tU>45bDP46hOx7_4S6Fo+k-*%fF5l;98W32|MuY88;Viec6N z|Dpf?|CipP;0@$6CV9KNu=Ho#3lRcZ$O^1|`)LegR8X5rnEd}Mt4y@Bb3 z9K%{UwFle{ANgN0&(ExJK3J`EXX?kD4E}00W`{0Y9{lZi$XukxeO8q>w?JfjyyEw% zn}AMKEpd$~Nl7e8wMs5Z1yT$~21Z7@hK9NZ79j>^Rt82^Mn>8O237_JlRiwEj-nwq bKP5A*61RrOYqhk28W=oX{an^LB{Ts5eI$(E literal 0 HcmV?d00001