X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fctables.at;fp=tests%2Flanguage%2Fstats%2Fctables.at;h=6885f935ea199280b13ffcedea287e6a3121d8d3;hb=981adc6169ffe7227de286f92f70edf684d37a2b;hp=67d6db4b263b97df81f8e819996b9b1a43deee8e;hpb=50e00137bfcc4eb3d4ae753a5e57e7a444194c96;p=pspp diff --git a/tests/language/stats/ctables.at b/tests/language/stats/ctables.at index 67d6db4b26..6885f935ea 100644 --- a/tests/language/stats/ctables.at +++ b/tests/language/stats/ctables.at @@ -1,11 +1,6 @@ AT_BANNER([CTABLES]) -dnl Features not yet tested: -dnl - Summary functions: -dnl * WEIGHT and adjustment weights. -dnl * details of missing value handling in summaries. -dnl -dnl Not for v1: +dnl Features not yet implemented: dnl - Multiple response sets dnl - MRSETS subcommand. dnl - CATEGORIES: Special case for explicit category specifications and multiple dichotomy sets. @@ -14,8 +9,6 @@ dnl - COMPARETEST dnl - Summary functions: dnl * .LCL and .UCL suffixes. dnl * .SE suffixes. -dnl - Summary functions: -dnl * )CILEVEL in summary label specification dnl - CATEGORIES: dnl * Data-dependent sorting. @@ -533,6 +526,15 @@ CTABLES /PCOMPUTE &x=EXPR(**). CTABLES /TABLE. CTABLES /TABLE qn113 [COUNT] BY qn114 [COUNT] BY qn116 [COUNT]. + +CTABLES /TABLE qn1 /CATEGORIES VARIABLES=qn1 KEY=PTILE(qn1, 50). + +CTABLES /TABLE $mrset. + +CTABLES /TABLE qn113 /SIGTEST TYPE=CHISQUARE. +CTABLES /TABLE qn113 /COMPARETEST TYPE=PROP. + +CTABLES /TABLE qn113 [COUNT.UCL]. ]]) AT_CHECK([pspp ctables.sps -O box=unicode -O width=80], [1], [[ctables.sps:2.76-2.78: error: CTABLES: Computed category &pc references a @@ -595,8 +597,8 @@ variable string. 8 | CTABLES /TABLE string /CATEGORIES VARIABLES=string [1]. | ^ -ctables.sps:10: error: CTABLES: ROWLABELS=OPPOSITE is not allowed with sorting -based on a summary function. +ctables.sps:10.74-10.86: error: CTABLES: Syntax error at `KEY=MEAN(qn1)': Data- +dependent sorting is not implemented. ctables.sps:12: error: CTABLES: ROWLABELS=OPPOSITE requires the variables to be moved to be categorical, but qnd1 is a scale variable. @@ -649,6 +651,21 @@ ctables.sps:23.33-23.37: note: CTABLES: This is a scale variable, so it always has a summary even if the syntax does not explicitly specify one. 23 | CTABLES /TABLE qn113 [COUNT] BY qn114 [COUNT] BY qn116 [COUNT]. | ^~~~~ + +ctables.sps:25.46-25.63: error: CTABLES: Syntax error at `KEY=PTILE(qn1, 50)': +Data-dependent sorting is not implemented. + +ctables.sps:27.16-27.21: error: CTABLES: Syntax error at `$mrset': Multiple +response set support not implemented. + +ctables.sps:29.23-29.44: error: CTABLES: Syntax error at `SIGTEST +TYPE=CHISQUARE': Support for SIGTEST not yet implemented. + +ctables.sps:30.35-30.43: error: CTABLES: Syntax error at `TYPE=PROP': Support +for COMPARETEST not yet implemented. + +ctables.sps:32.23-32.31: error: CTABLES: Syntax error at `COUNT.UCL': Support +for LCL, UCL, and SE summary functions is not yet implemented. ]]) AT_CLEANUP