3 # Check corner cases of the PCX run-length encoder.
4 # Copyright © 2012 Nick Bowler
6 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
7 # This is free software: you are free to do what the fuck you want to.
8 # There is NO WARRANTY, to the extent permitted by law.
10 pcxrle=test/pcxrle$EXEEXT
13 $pcxrle 0000 || exit 1
14 $pcxrle c100 || exit 1
25 $pcxrle "$t32$t16$t8$t4$t2$t1" || exit 1 # maximum possible run
26 $pcxrle "$t64" || exit 1
27 $pcxrle "$t64$t64$t64" || exit 1