X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/d1c92ce9f559ece233cb82425d634bf6484aff2f..2f9f9c25dc11a8849702f2ef8acefefcb8466a9e:/tests/moo2-mainmenu.tap diff --git a/tests/moo2-mainmenu.tap b/tests/moo2-mainmenu.tap index 168c815..59a42f3 100755 --- a/tests/moo2-mainmenu.tap +++ b/tests/moo2-mainmenu.tap @@ -2,7 +2,7 @@ # # 2ooM: The Master of Orion II Reverse Engineering Project # Test correct decoding of various images in mainmenu.lbx -# Copyright © 2013 Nick Bowler +# Copyright © 2013-2014 Nick Bowler # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,15 +28,18 @@ plan_ 10 command_ok_ "unpacking fonts.lbx" $LBXTOOL -xf "$MOO2DATA/fonts.lbx" command_ok_ "unpacking mainmenu.lbx" $LBXTOOL -xf "$MOO2DATA/mainmenu.lbx" +diag_ "Test image with embedded palette" command_ok_ "decoding mainmenu.lbx.021" \ $LBXIMG -F pam --output-prefix test0 -df mainmenu.lbx.021 dx_check_pam_md5 "test0.000.pam" 848e33a0addc6e9acdc4fee6cbd56639 +diag_ "Test image with external palette" command_ok_ "decoding mainmenu.lbx.007" \ $LBXIMG -F pam --output-prefix test1 --palette fonts.lbx.006 \ -df mainmenu.lbx.007 dx_check_pam_md5 "test1.000.pam" f301ffcc1a2faa3a0aa68514784012ec +diag_ "Test image with animation and external palette" command_ok_ "decoding mainmenu.lbx.000" \ $LBXIMG -F pam --output-prefix test2 --palette fonts.lbx.006 \ -df mainmenu.lbx.000