Don't crash on Games-Howell test when there are small numbers of cases per category.
[pspp-builds.git] / tests / language / stats / oneway.at
index 7602eff465c7295c2c1832ecce550c36c492382b..dfb43bbe909bafafbae78cb46f7a31eea9dc3029 100644 (file)
@@ -948,3 +948,27 @@ ONEWAY
 AT_CHECK([pspp -O format=csv crash2.sps], [0], [ignore])
 
 AT_CLEANUP
+
+
+
+
+AT_SETUP([ONEWAY Games-Howell test with few cases])
+AT_DATA([crash3.sps],[dnl
+data list notable list /dv * y * .
+begin data.
+2 2
+1 2
+1 1
+2 4
+3 4
+end data.
+
+ONEWAY
+ /VARIABLES= dv BY y
+ /POSTHOC = GH
+ . 
+])
+
+AT_CHECK([pspp -O format=csv crash3.sps], [0], [ignore])
+
+AT_CLEANUP