[gnumeric] ILOG: Add test.



commit abfa0655a02fac63e09721f1985598040a4c911b
Author: Morten Welinder <terra gnome org>
Date:   Wed Oct 20 15:27:02 2021 -0400

    ILOG: Add test.

 samples/ilog.gnumeric | Bin 0 -> 83147 bytes
 test/GnumericTest.pm  |   2 ++
 test/Makefile.am      |   1 +
 test/t1108-ilog.pl    |  10 ++++++++++
 4 files changed, 13 insertions(+)
---
diff --git a/samples/ilog.gnumeric b/samples/ilog.gnumeric
new file mode 100644
index 000000000..02c10d664
Binary files /dev/null and b/samples/ilog.gnumeric differ
diff --git a/test/GnumericTest.pm b/test/GnumericTest.pm
index f713a4d06..979e5086e 100644
--- a/test/GnumericTest.pm
+++ b/test/GnumericTest.pm
@@ -220,6 +220,8 @@ my @dist_corpus =
      "$samples/ttest.xls",
      "$samples/chitest.xls",
      "$samples/vdb.gnumeric",
+     "$samples/cronbach.gnumeric",
+     "$samples/ilog.gnumeric",
      "$samples/numbermatch.gnumeric",
      "$samples/numtheory.gnumeric",
      "$samples/solver/afiro.mps",
diff --git a/test/Makefile.am b/test/Makefile.am
index 0914c8744..645b472ed 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -58,6 +58,7 @@ TESTS =       t1000-statfuns.pl                       \
        t1105-gamma.pl                          \
        t1106-vdb.pl                            \
        t1107-cronbach.pl                       \
+       t1107-ilog.pl                           \
        t1800-operators.pl                      \
        t1900-array.pl                          \
        t1901-regress.pl                        \
diff --git a/test/t1108-ilog.pl b/test/t1108-ilog.pl
new file mode 100755
index 000000000..6d14269fd
--- /dev/null
+++ b/test/t1108-ilog.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "ilog.gnumeric";
+&message ("Check that $file evaluates correctly.");
+&test_sheet_calc ("$samples/$file", "C1", sub { /\bTRUE\b/i });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]