#
# 2ooM: The Master of Orion II Reverse Engineering Project
# Test correct decoding of various images in logo.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
command_ok_ "unpacking logo.lbx" $LBXTOOL -xf "$MOO2DATA/logo.lbx"
+diag_ "Test image with transparency and embedded palette"
command_ok_ "decoding logo.lbx.000" \
$LBXIMG -F pam --output-prefix test0 -df logo.lbx.000
dx_check_pam_md5 "test0.000.pam" e51c564aa638dc62dd1fd79e6f6cc375
+diag_ "Test image with animation and embedded palette"
command_ok_ "decoding logo.lbx.001" \
$LBXIMG -F pam --output-prefix test1 -df logo.lbx.001
dx_check_pam_md5 "test1.000.pam" 13a60ede277eebe8fec69f03c5cb5843