[gnumeric] tests: linear regression test suite.



commit ef48f2b5a58de8d51a25f2423b1edf2b36a0ea90
Author: Morten Welinder <terra gnome org>
Date:   Mon May 17 09:36:48 2010 -0400

    tests: linear regression test suite.

 NEWS                 |    7 +++++--
 samples/linest.xls   |  Bin 0 -> 126464 bytes
 test/t1104-linest.pl |   10 ++++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index bdb142b..838894f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,9 +3,12 @@ Gnumeric 1.10.4
 Andreas:
 	* Include version number in HTML export.
 
-Jean
+Jean:
 	* Fixed autofill issues. [#618687]
- 
+
+Morten:
+	* Linear regression test suite.
+
 --------------------------------------------------------------------------
 Gnumeric 1.10.3
 
diff --git a/samples/linest.xls b/samples/linest.xls
new file mode 100644
index 0000000..ff5a29c
Binary files /dev/null and b/samples/linest.xls differ
diff --git a/test/t1104-linest.pl b/test/t1104-linest.pl
new file mode 100755
index 0000000..090967b
--- /dev/null
+++ b/test/t1104-linest.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "linest.xls";
+&message ("Check that $file evaluates correctly.");
+&test_sheet_calc ("$samples/$file", "A1", sub { /\bOk\!/i });



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