From 86b03c9774804276fdae4150b83ba3c3c88b325d Mon Sep 17 00:00:00 2001 From: mkv Date: Wed, 23 Apr 2014 14:34:04 +0400 Subject: [PATCH] 0024376: BMP image cannot be read Test case for issues CR24376 --- tests/bugs/vis/bug24376 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 tests/bugs/vis/bug24376 diff --git a/tests/bugs/vis/bug24376 b/tests/bugs/vis/bug24376 new file mode 100755 index 0000000000..918de47398 --- /dev/null +++ b/tests/bugs/vis/bug24376 @@ -0,0 +1,25 @@ +puts "============" +puts "OCC24376" +puts "============" +puts "" +####################################################################### +# BMP image cannot be read +####################################################################### + +box b 1 1 1 +explode b FACE + +vinit +vdisplay b_1 +vtexture b_1 [locate_data_file bug24376_Soap.bmp] +vfit + +set x_coord 200 +set y_coord 100 +checkcolor $x_coord $y_coord 0 0 0 + +set x_coord 200 +set y_coord 90 +checkcolor $x_coord $y_coord 0.78039216995239258 0.55294120311737061 0.094117648899555206 + +set only_screen 1