From 53efa64bcd9f9f3c1cd5e0930b951bcb89613bae Mon Sep 17 00:00:00 2001 From: Morten Welinder Date: Fri, 29 Dec 2017 22:41:06 -0500 Subject: [PATCH] tests: add test for CRONBACH --- test/Makefile.am | 1 + test/t1107-cronbach.pl | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100755 test/t1107-cronbach.pl diff --git a/test/Makefile.am b/test/Makefile.am index 66e5b8114..965ce880a 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 000000000..f4b01f5c2 --- /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 }); -- 2.11.4.GIT