[gnumeric] Tests: new test for VDB.



commit fd1dcae100c1743fcb4322a42dbf84ec7546b6dc
Author: Morten Welinder <terra gnome org>
Date:   Mon Nov 13 19:52:58 2017 -0500

    Tests: new test for VDB.

 test/Makefile.am  |    1 +
 test/t1106-vdb.pl |   10 ++++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/test/Makefile.am b/test/Makefile.am
index f13f189..7c1bf40 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -53,6 +53,7 @@ TESTS =       t1000-statfuns.pl                       \
        t1103-sumif.pl                          \
        t1104-linest.pl                         \
        t1105-gamma.pl                          \
+       t1106-vdb.pl                            \
        t1800-operators.pl                      \
        t1900-array.pl                          \
        t1901-regress.pl                        \
diff --git a/test/t1106-vdb.pl b/test/t1106-vdb.pl
new file mode 100755
index 0000000..cceb1e1
--- /dev/null
+++ b/test/t1106-vdb.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "vdb.gnumeric";
+&message ("Check that $file evaluates correctly.");
+&test_sheet_calc ("$samples/$file", "A1", sub { /\bOK\b/i });


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