X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Flanguage%2Fdictionary%2Fvector.at;h=82a0dc2e6ad8a0b9e92ee098e4edab7568eebd4d;hb=f626663385d57d16eff7e1d06e07b558cf669385;hp=e7a2cdd101c7ae7b861595b456235d01fca9c8cd;hpb=52537fd5a00b0756e274cd0e2e1fdf9aca7cccf5;p=pspp diff --git a/tests/language/dictionary/vector.at b/tests/language/dictionary/vector.at index e7a2cdd101..82a0dc2e6a 100644 --- a/tests/language/dictionary/vector.at +++ b/tests/language/dictionary/vector.at @@ -1,3 +1,19 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +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 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 You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([VECTOR]) AT_SETUP([VECTOR short form]) @@ -8,7 +24,8 @@ display vector. ]) AT_CHECK([pspp -o pspp.csv vector.sps]) AT_CHECK([cat pspp.csv], [0], [dnl -Vector,Position,Variable,Print Format +Table: Vectors +Vector and Position,,Variable,Print Format v,1,v1,F8.2 ,2,v2,F8.2 ,3,v3,F8.2 @@ -19,16 +36,21 @@ AT_CLEANUP AT_SETUP([VECTOR short form with format specification]) AT_DATA([vector.sps], [dnl data list notable/x 1. -vector #vec(4, comma10.2). +vector #vec(4, comma10.2) + /#svec(3, a8). display vector. ]) AT_CHECK([pspp -o pspp.csv vector.sps]) AT_CHECK([cat pspp.csv], [0], [dnl -Vector,Position,Variable,Print Format +Table: Vectors +Vector and Position,,Variable,Print Format #vec,1,#vec1,COMMA10.2 ,2,#vec2,COMMA10.2 ,3,#vec3,COMMA10.2 ,4,#vec4,COMMA10.2 +#svec,1,#svec1,A8 +,2,#svec2,A8 +,3,#svec3,A8 ]) AT_CLEANUP @@ -42,7 +64,8 @@ display vector. ]) AT_CHECK([pspp -o pspp.csv vector.sps]) AT_CHECK([cat pspp.csv], [0], [dnl -Vector,Position,Variable,Print Format +Table: Vectors +Vector and Position,,Variable,Print Format x,1,x1,F8.2 ,2,x2,F8.2 ,3,x3,F8.2 @@ -61,7 +84,8 @@ display vector. ]) AT_CHECK([pspp -o pspp.csv vector.sps]) AT_CHECK([cat pspp.csv], [0], [dnl -Vector,Position,Variable,Print Format +Table: Vectors +Vector and Position,,Variable,Print Format a,1,u,F1.0 ,2,w,F1.0 ,3,x,F1.0