X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Foutput%2Fcharts.at;h=bbaf2aebcf0653feaf346a7e8de7a7647e659a36;hb=981adc6169ffe7227de286f92f70edf684d37a2b;hp=7cbaeb2e823fc5ed78adf454743f0b91bddaf1f4;hpb=97fb55e07cac602cbca57ce8005de5c8a67a73cc;p=pspp diff --git a/tests/output/charts.at b/tests/output/charts.at index 7cbaeb2e82..bbaf2aebcf 100644 --- a/tests/output/charts.at +++ b/tests/output/charts.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([CHARTS Rudimentary run tests]) dnl Check that the charts work @@ -6,6 +22,7 @@ dnl should generate them, run without crashing. dnl Better tests will come later (hopefully) AT_SETUP([Examine]) +AT_KEYWORDS([slow]) AT_DATA([charts.sps],[ input program. loop #i = 1 to 1000. @@ -126,7 +143,7 @@ AT_DATA([histogram.sps],[ generates histograms. It is no-crash test. However the code is rich in assertions, so any problems we hope will be caught there. - + input program. loop #i = 1 to 1000. @@ -185,7 +202,7 @@ French Christian Male END DATA. -FREQUENCIES /VARIABLES=religion nationality /BARCHART /PIECHART. +FREQUENCIES /VARIABLES=religion nationality /BARCHART /PIECHART. ]) @@ -223,7 +240,7 @@ French Christian Male END DATA. -CROSSTABS +CROSSTABS /tables = nationality by religion by gender /tables = nationality by religion /tables = religion by gender @@ -235,3 +252,37 @@ CROSSTABS AT_CHECK([pspp -o pspp.txt xxx.sps], [0], [ignore]) AT_CLEANUP + + + + +AT_SETUP([BOXPLOT Empty]) +AT_DATA([bp.sps],[ +DATA LIST LIST /X * Y * . +BEGIN DATA +1 +2 +2 +2 +3 +END DATA + +EXAMINE + /VARIABLES = Y + /PLOT = BOXPLOT. +]) + + +AT_CHECK([pspp -o pspp.txt bp.sps], [0], [ignore]) + +AT_CLEANUP + + + + + + + + + +