[gnumeric] tests: add test for array intersection/IF problem.



commit d7db82e3eba2387c0cd37fd3e863c511aa6254cc
Author: Morten Welinder <terra gnome org>
Date:   Wed Dec 8 13:16:53 2010 -0500

    tests: add test for array intersection/IF problem.

 samples/array-intersection.xls   |  Bin 0 -> 6656 bytes
 test/t1902-array-intersection.pl |   10 ++++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/samples/array-intersection.xls b/samples/array-intersection.xls
new file mode 100644
index 0000000..fe5e26e
Binary files /dev/null and b/samples/array-intersection.xls differ
diff --git a/test/t1902-array-intersection.pl b/test/t1902-array-intersection.pl
new file mode 100755
index 0000000..a2e5af7
--- /dev/null
+++ b/test/t1902-array-intersection.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "array-intersection.xls";
+&message ("Check that $file evaluates correctly.");
+&test_sheet_calc ("$samples/$file", "A1", sub { /TRUE/ });



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