[gnumeric] tests: add test for CRONBACH
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] tests: add test for CRONBACH
- Date: Sat, 30 Dec 2017 03:41:37 +0000 (UTC)
commit 53efa64bcd9f9f3c1cd5e0930b951bcb89613bae
Author: Morten Welinder <terra gnome org>
Date: Fri Dec 29 22:41:06 2017 -0500
tests: add test for CRONBACH
test/Makefile.am | 1 +
test/t1107-cronbach.pl | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/test/Makefile.am b/test/Makefile.am
index 66e5b81..965ce88 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -55,6 +55,7 @@ TESTS = t1000-statfuns.pl \
t1104-linest.pl \
t1105-gamma.pl \
t1106-vdb.pl \
+ t1107-cronbach.pl \
t1800-operators.pl \
t1900-array.pl \
t1901-regress.pl \
diff --git a/test/t1107-cronbach.pl b/test/t1107-cronbach.pl
new file mode 100755
index 0000000..f4b01f5
--- /dev/null
+++ b/test/t1107-cronbach.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+use strict;
+use lib ($0 =~ m|^(.*/)| ? $1 : ".");
+use GnumericTest;
+
+my $file = "cronbach.gnumeric";
+&message ("Check that $file evaluates correctly.");
+&test_sheet_calc ("$samples/$file", "B2", sub { /\bTRUE\b/i });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]