X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdictionary%2Fformats.at;h=b53f114b8528963800f3839a21aa346e4461a066;hb=5af2d8e4450d82bdb660de801e2a8961750442fa;hp=4bdf089f782bc9fadae2250dcfbba2a37bfdd7e3;hpb=cac0d191514553fede1858bf3dceee9073e60c1a;p=pspp diff --git a/tests/language/dictionary/formats.at b/tests/language/dictionary/formats.at index 4bdf089f78..b53f114b85 100644 --- a/tests/language/dictionary/formats.at +++ b/tests/language/dictionary/formats.at @@ -1,12 +1,28 @@ +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([FORMATS]) AT_SETUP([FORMATS positive tests]) AT_DATA([formats.sps], [dnl DATA LIST LIST /a b c * x (A1) y (A2) z (A3). DISPLAY VARIABLES. -FORMATS a (COMMA10) b (N4). +FORMATS /a (COMMA10) b (N4). DISPLAY VARIABLES. -FORMATS c (E8.1) x (A1) y (AHEX4) z (A3). +FORMATS c (E8.1) x (A1) /y (AHEX4) z (A3). DISPLAY VARIABLES. ]) AT_CHECK([pspp -o pspp.csv formats.sps]) @@ -20,29 +36,32 @@ x,A1 y,A2 z,A3 -Variable,Description,,Position -a,Format: F8.2,,1 -b,Format: F8.2,,2 -c,Format: F8.2,,3 -x,Format: A1,,4 -y,Format: A2,,5 -z,Format: A3,,6 +Table: Variables +Name,Position,Print Format,Write Format +a,1,F8.2,F8.2 +b,2,F8.2,F8.2 +c,3,F8.2,F8.2 +x,4,A1,A1 +y,5,A2,A2 +z,6,A3,A3 -Variable,Description,,Position -a,Format: COMMA10.0,,1 -b,Format: N4.0,,2 -c,Format: F8.2,,3 -x,Format: A1,,4 -y,Format: A2,,5 -z,Format: A3,,6 +Table: Variables +Name,Position,Print Format,Write Format +a,1,COMMA10.0,COMMA10.0 +b,2,N4.0,N4.0 +c,3,F8.2,F8.2 +x,4,A1,A1 +y,5,A2,A2 +z,6,A3,A3 -Variable,Description,,Position -a,Format: COMMA10.0,,1 -b,Format: N4.0,,2 -c,Format: E8.1,,3 -x,Format: A1,,4 -y,Format: AHEX4,,5 -z,Format: A3,,6 +Table: Variables +Name,Position,Print Format,Write Format +a,1,COMMA10.0,COMMA10.0 +b,2,N4.0,N4.0 +c,3,E8.1,E8.1 +x,4,A1,A1 +y,5,AHEX4,AHEX4 +z,6,A3,A3 ]) AT_CLEANUP