X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fstats%2Fnpar.at;h=93624925aee4764addf974ab76023156721b00e3;hb=7eeaa43ea2e8043113079cdcfee2dbfb4ac886ac;hp=be770ab1b17c74305b41c6c0928186b794c30e99;hpb=ee1bfc05f5ab73883df26e616019e07a1bfee873;p=pspp diff --git a/tests/language/stats/npar.at b/tests/language/stats/npar.at index be770ab1b1..93624925ae 100644 --- a/tests/language/stats/npar.at +++ b/tests/language/stats/npar.at @@ -1,5 +1,5 @@ dnl PSPP - a program for statistical analysis. -dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl Copyright (C) 2017, 2022 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 @@ -759,6 +759,44 @@ AT_CHECK([pspp -o pspp2.csv kw-missing-group.sps]) dnl The result should be the same as before AT_CHECK([diff pspp.csv pspp2.csv], [0]) +dnl Reverse the order of the group values +AT_DATA([kw-reverse-group.sps], [dnl +set format = F9.3. + +data list notable list /gv * xscore *. +begin data +1 96 +1 128 +1 83 +1 61 +1 101 +2 82 +2 124 +2 132 +2 135 +2 109 +3 115 +3 149 +3 166 +3 147 +end data. + +value label /gv + 1 "timed out" + 2 "hit wicket" + 3 "handled the ball". + +npar tests + /kruskal-wallis xscore by gv (3, 1) + /missing=exclude + . +]) + +AT_CHECK([pspp -o pspp2.csv kw-reverse-group.sps]) + +dnl The result should be the same as before +AT_CHECK([diff pspp.csv pspp2.csv], [0]) + AT_CLEANUP