.gnumeric: if we see a shared array formula, fix it.
[gnumeric.git] / test / t7144-solver-MGH10.pl
blob232c46cdaafb9956003bc62df74e4b398b961ca4
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
8 my $file = "MGH10.gnumeric";
9 my $rle = 6;
10 &message ("Check non-linear solver on $file problem.");
11 &test_sheet_calc ("$samples/solver/$file", ['--solve'], "K39",
12 sub {
13 chomp;
14 print STDERR "--> $_\n";
15 my $ok = (/^[-+]?(\d|\.\d)/ && $_ > $rle);
16 if ($ok) {
17 print STDERR "Unexpected success.\n";
18 } else {
19 print STDERR "Known failure.\n" ;
20 $ok = 1;
22 });