Fix ROC behaviour in the presence of missing values.
[pspp-builds.git] / tests / command / roc.sh
index df3312be1cdff41d769a961531eab637a03e37ca..57dad752fa73c705781171f12fd31a0845b07b16 100755 (executable)
@@ -68,6 +68,7 @@ begin data.
 2 3 4  1
 2 4 14 0
 3 5 10 1
+. . 1  0
 3 1 5  0
 4 2 14 1
 4 3 2  0
@@ -95,6 +96,7 @@ activity="run program"
 $SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
+
 activity="compare results"
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
 diff -b  $TEMPDIR/pspp.list - << EOF
@@ -159,7 +161,7 @@ See pspp-1.png for a chart.
 #            y#                                .000|      1.000|          1.000#
 #             #                               1.500|       .960|           .900#
 #             #                               2.500|       .680|           .340#
-#             #                               3.000|       .600|           .300#
+#             #                               3.000|       .600|           .340#
 #             #                               3.500|       .600|           .300#
 #             #                               4.500|       .200|           .020#
 #             #                               6.000|       .000|           .000#