X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fmeans.at;h=e4d1f5a2f4e682685b7b6db0bec68fe710723936;hb=5ebd57fdfb488898e97aeaf7c1cc2a7c7bc1c549;hp=a69051b1adca55677a61dd80810ae5d091472534;hpb=15902607af7e20a76acdc98623b9f5a99751065b;p=pspp-builds.git diff --git a/tests/language/stats/means.at b/tests/language/stats/means.at index a69051b1..e4d1f5a2 100644 --- a/tests/language/stats/means.at +++ b/tests/language/stats/means.at @@ -325,3 +325,91 @@ score ]) AT_CLEANUP + + + + +AT_SETUP([MEANS missing=table ]) + +AT_DATA([means-miss-table.sps], [dnl +data list notable list /a * b * g1. +begin data. +1 9 1 +2 9 1 +3 9 1 +4 9 2 +5 9 2 +6 9 2 +7 . 2 +end data. + +MEANS a b BY g1 + /a BY g1 + /cells = COUNT + /missing = TABLE + . + +MEANS a b BY g1 + /a BY g1 + /cells = COUNT + . +]) + + +AT_CHECK([pspp -O format=csv means-miss-table.sps], [0], + [dnl +Table: Case Processing Summary +,Cases,,,,, +,Included,,Excluded,,Total, +,N,Percent,N,Percent,N,Percent +a: g1,7,100%,0,0%,7,100% +b: g1,6,85.7143%,1,14.2857%,7,100% + +Table: Report +,g1,N +a,1.00,3.00 +,2.00,3.00 +b,1.00,3.00 +,2.00,3.00 + +Table: Case Processing Summary +,Cases,,,,, +,Included,,Excluded,,Total, +,N,Percent,N,Percent,N,Percent +a: g1,7,100%,0,0%,7,100% + +Table: Report +,g1,N +a,1.00,3.00 +,2.00,4.00 + +Table: Case Processing Summary +,Cases,,,,, +,Included,,Excluded,,Total, +,N,Percent,N,Percent,N,Percent +a: g1,7,100%,0,0%,7,100% +b: g1,6,85.7143%,1,14.2857%,7,100% + +Table: Report +,g1,N +a,1.00,3.00 +,2.00,4.00 +b,1.00,3.00 +,2.00,3.00 + +Table: Case Processing Summary +,Cases,,,,, +,Included,,Excluded,,Total, +,N,Percent,N,Percent,N,Percent +a: g1,7,100%,0,0%,7,100% + +Table: Report +,g1,N +a,1.00,3.00 +,2.00,4.00 +]) + +AT_CLEANUP + + +