Column Fitting: don't go higher than 15 significant digits by default.
[gnumeric.git] / test / t6505-colrow.pl
blob2b1fb14b5083683197ef2718c2d4bfe967afc020
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
8 my $file = "$samples/colrow-tests.gnumeric";
10 if (&subtest ("gnumeric")) {
11 &message ("Check col/row info gnumeric roundtrip.");
12 &test_roundtrip ($file,
13 'format' => 'Gnumeric_XmlIO:sax',
14 'ext' => "gnm");
17 if (&subtest ("ods")) {
18 &message ("Check col/row info ods roundtrip.");
19 &test_roundtrip ($file,
20 'format' => 'Gnumeric_OpenCalc:odf',
21 'ext' => "ods",
22 'filter2' => 'std:drop_generator');
25 if (&subtest ("biff7")) {
26 &message ("Check col/row info xls/BIFF7 roundtrip.");
27 &test_roundtrip ($file,
28 'format' => 'Gnumeric_Excel:excel_biff7',
29 'ext' => "xls",
30 'resize' => '16384x256',
31 'filter2' => 'std:drop_codepage',
32 'ignore_failure' => 1);
35 if (&subtest ("biff8")) {
36 &message ("Check col/row info xls/BIFF8 roundtrip.");
37 &test_roundtrip ($file,
38 'format' => 'Gnumeric_Excel:excel_biff8',
39 'ext' => "xls",
40 'filter2' => 'std:drop_codepage',
41 'ignore_failure' => 1);
44 if (&subtest ("xlsx")) {
45 &message ("Check col/row info xlsx roundtrip.");
46 &test_roundtrip ($file,
47 'format' => 'Gnumeric_Excel:xlsx',
48 'ext' => "xlsx",
49 'resize' => '1048576x16384');