add examples
[pspp] / tests / language / xforms / count.at
index 79ae15545587fb07c6f145c4d61fb2a893801577..4a67b0273b763d1667ec261318390e3f633c7be1 100644 (file)
@@ -1,19 +1,20 @@
 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 <http://www.gnu.org/licenses/>.
-dnl AT_BANNER([COUNT])
+dnl
+AT_BANNER([COUNT])
 
 AT_SETUP([COUNT -- numeric data])
 AT_DATA([count.sps], [dnl
@@ -61,7 +62,7 @@ TITLE 'Test COUNT transformation'.
 DATA LIST /v1 to v2 1-4(a).
 BEGIN DATA.
 1234
-321 
+321
 2 13
 4121
 1104
@@ -72,18 +73,16 @@ COUNT c=v1 to v2('2',' 4','1').
 LIST.
 ])
 AT_CHECK([pspp -O format=csv count.sps], [0], [dnl
-Title: Test COUNT transformation
-
 Table: Reading 1 record from INLINE.
 Variable,Record,Columns,Format
-v1,1,1-  2,A2
-v2,1,3-  4,A2
+v1,1,1-2,A2
+v2,1,3-4,A2
 
 Table: Data List
 v1,v2,c
 12,34,.00
-32,1 ,1.00
-2 ,13,1.00
+32,1,1.00
+2,13,1.00
 41,21,.00
 11,04,.00
 03,4,1.00