Fixed bug #35494 - Levene test crash on no valid values.
[pspp] / tests / language / stats / t-test.at
index d5b7aad3b205dbe4e04aa5f72c077dbc6798ec14..d03a6ca9d5d34eb7abadd41ffa03b5f296a87bc2 100644 (file)
@@ -744,3 +744,23 @@ x,Equal variances assumed,1.13,.33,-2.32,6.00,.06,-.90,.38,-1.83,.03
 ])
 AT_CLEANUP
 
+
+
+dnl Tests for a bug assert failed when the group variables were not of either class
+AT_SETUP([T-TEST wrong group])
+AT_DATA([t-test-crs.sps], [dnl
+data list list /x * g *.
+begin data.
+1 2
+2 2
+3 2
+4 2
+5 2 
+end data.
+
+t-test /variables = x group=g(1,3).
+])
+
+AT_CHECK([pspp t-test-crs.sps], [0],[ignore], [ignore])
+
+AT_CLEANUP