X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fvariable-display.at;h=1e6142b335139edd0e83a364f2838dfe362ec54d;hb=b617e090556354840dbfd5fcac89ae9a7e090c9b;hp=5daa3c1bbf645e54160dbae0f50d17bb16b6a252;hpb=c70c924972443e3ec2713e421815cbf959af2582;p=pspp diff --git a/tests/language/dictionary/variable-display.at b/tests/language/dictionary/variable-display.at index 5daa3c1bbf..1e6142b335 100644 --- a/tests/language/dictionary/variable-display.at +++ b/tests/language/dictionary/variable-display.at @@ -1,16 +1,16 @@ dnl PSPP - a program for statistical analysis. dnl Copyright (C) 2017 Free Software Foundation, Inc. -dnl +dnl dnl This program is free software: you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation, either version 3 of the License, or dnl (at your option) any later version. -dnl +dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. -dnl +dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . dnl @@ -75,36 +75,49 @@ SET TVARS=BOTH. DESCRIPTIVES ALL. ]) -AT_CHECK([pspp -O format=csv var-labels.sps], [0],[dnl -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum +AT_CHECK([pspp -o pspp.csv -o pspp.txt var-labels.sps]) +AT_CHECK([cat pspp.csv], [0],[dnl +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum x,4,2.50,1.29,1.00,4.00 y,4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum x,4,2.50,1.29,1.00,4.00 y,4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum x,4,2.50,1.29,1.00,4.00 y,4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum x,4,2.50,1.29,1.00,4.00 y,4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum foo,4,2.50,1.29,1.00,4.00 bar,4,250.00,129.10,100.00,400.00 - -Table: Valid cases = 4; cases with missing value(s) = 0. -Variable,N,Mean,Std Dev,Minimum,Maximum -foo (x),4,2.50,1.29,1.00,4.00 -bar (y),4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, + +Table: Descriptive Statistics +,N,Mean,Std Dev,Minimum,Maximum +x foo,4,2.50,1.29,1.00,4.00 +y bar,4,250.00,129.10,100.00,400.00 +Valid N (listwise),4,,,, +Missing N (listwise),0,,,, ]) AT_CLEANUP