2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
8 my $file = "$samples/solver-tests.gnumeric";
9 $GnumericTest::default_subtests
= 'gnumeric';
11 if (&subtest
("gnumeric")) {
12 &message
("Check solver gnumeric roundtrip.");
13 &test_roundtrip
($file,
14 'format' => 'Gnumeric_XmlIO:sax',
18 if (&subtest
("ods")) {
20 &message
("Check solver ods roundtrip.");
21 &test_roundtrip
($file,
22 'format' => 'Gnumeric_OpenCalc:odf',
24 'filter2' => 'std:drop_generator');
27 if (&subtest
("biff7")) {
29 &message
("Check solver xls/BIFF7 roundtrip.");
30 &test_roundtrip
($file,
31 'format' => 'Gnumeric_Excel:excel_biff7',
33 'resize' => '16384x256',
34 'filter2' => 'std:drop_codepage');
37 if (&subtest
("biff8")) {
39 &message
("Check solver xls/BIFF8 roundtrip.");
40 &test_roundtrip
($file,
41 'format' => 'Gnumeric_Excel:excel_biff8',
43 'filter2' => 'std:drop_codepage');
46 if (&subtest
("xlsx")) {
48 &message
("Check solver xlsx roundtrip.");
49 &test_roundtrip
($file,
50 'format' => 'Gnumeric_Excel:xlsx',
52 'resize' => '1048576x16384');