Index: trunk/psLib/test/math/Makefile.am
===================================================================
--- trunk/psLib/test/math/Makefile.am	(revision 11686)
+++ trunk/psLib/test/math/Makefile.am	(revision 12094)
@@ -46,4 +46,5 @@
 	tap_psStats09 \
 	tap_psStatsTiming \
+	tap_psFunc01 \
 	tap_psStats_Sample_01
 
Index: trunk/psLib/test/math/tap_psHist02.c
===================================================================
--- trunk/psLib/test/math/tap_psHist02.c	(revision 11686)
+++ trunk/psLib/test/math/tap_psHist02.c	(revision 12094)
@@ -35,6 +35,6 @@
 
         psHistogram *myHist = psHistogramAlloc(lower, higher, numBins );
-        myHist = psVectorHistogram( myHist, myData, NULL, NULL, 0 );
-        ok(myHist != NULL, "psVectorHistogram() returned a non-NULL psHistogram");
+        bool rc = psVectorHistogram( myHist, myData, NULL, NULL, 0 );
+        ok(rc == false, "psVectorHistogram() returned TRUE");
         skip_start(myHist == NULL, 1, "Skipping tests because psVectorHistogram() returned NULL");
 
@@ -80,6 +80,6 @@
         }
         psHistogram *myHist = psHistogramAlloc(lower, higher, numBins );
-        myHist = psVectorHistogram(myHist, myData, NULL, myMask, 1);
-        ok(myHist != NULL, "psVectorHistogram() returned a non-NULL psHistogram");
+        bool rc = psVectorHistogram(myHist, myData, NULL, myMask, 1);
+        ok(rc == false, "psVectorHistogram() returned TRUE");
         skip_start(myHist == NULL, 1, "Skipping tests because psVectorHistogram() returned NULL");
 
@@ -123,5 +123,6 @@
             myData->data.F32[ i ] = lower + ( ( higher - lower ) / ( float ) NUM_DATA ) * ( float ) i;
         }
-        ok(NULL == psVectorHistogram( NULL, myData, NULL, NULL, 0 ), "psVectorHistogram() returned NULL with a NULL psHistogram input");
+        ok(false == psVectorHistogram( NULL, myData, NULL, NULL, 0 ),
+          "psVectorHistogram() returned FALSE with a NULL psHistogram input");
         psFree( myData );
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
@@ -135,5 +136,6 @@
         psMemId id = psMemGetId();
         psHistogram *myHist = psHistogramAlloc(lower, higher, numBins );
-        ok(NULL != psVectorHistogram( myHist, NULL, NULL, NULL, 0 ), "psVectorHistogram() returns non-NULL with a NULL input array");
+        ok(true == psVectorHistogram( myHist, NULL, NULL, NULL, 0 ),
+          "psVectorHistogram() returns TRUE with a NULL input array");
         psFree(myHist);
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
@@ -149,6 +151,6 @@
         psVector *myData = psVectorAlloc(0, PS_TYPE_F32);
         psHistogram *myHist = psHistogramAlloc(lower, higher, numBins);
-        myHist = psVectorHistogram(myHist, NULL, NULL, NULL, 0);
-        ok(NULL != psVectorHistogram( myHist, NULL, NULL, NULL, 0 ), "psVectorHistogram() returns non-NULL with an empty input array");
+        ok(true == psVectorHistogram( myHist, NULL, NULL, NULL, 0 ),
+          "psVectorHistogram() returns TRUE with an empty input array");
         psFree(myHist);
         psFree(myData);
Index: trunk/psLib/test/math/tap_psHist03.c
===================================================================
--- trunk/psLib/test/math/tap_psHist03.c	(revision 11686)
+++ trunk/psLib/test/math/tap_psHist03.c	(revision 12094)
@@ -50,5 +50,7 @@
         ok(myHist->uniform == false, "psHistogramAlloc() initialized ->uniform to false");
 
-        myHist = psVectorHistogram( myHist, myData, NULL, NULL, 0 );
+        bool rc = psVectorHistogram( myHist, myData, NULL, NULL, 0 );
+        ok(rc == true, "psVectorHistogram() returned TRUE");
+        // XXX: skip_start here
         for (int i=0;i<numBins;i++) {
             psF32 expected = ((float) NUM_DATA) / ((float) numBins);
@@ -84,5 +86,5 @@
     psTraceSetLevel("UpdateHistogramBins", 0);
     psTraceSetLevel("psVectorHistogram", 0);
-    plan_tests(32);
+    plan_tests(36);
 
     genericTest(1, 1, 2);
Index: trunk/psLib/test/math/tap_psStats07.c
===================================================================
--- trunk/psLib/test/math/tap_psStats07.c	(revision 11686)
+++ trunk/psLib/test/math/tap_psStats07.c	(revision 12094)
@@ -500,6 +500,7 @@
     plan_tests(3);
 
-    ok(genericRobustStatsTest(TST_IN_F32 | TST_ERRORS_NULL | TST_MASK_NULL, NUM_DATA, 1, true), "RobustStatsTest() F32 data");
+//    ok(genericRobustStatsTest(TST_IN_F32 | TST_ERRORS_NULL | TST_MASK_NULL, NUM_DATA, 1, true), "RobustStatsTest() F32 data");
     ok(genericRobustStatsTest(TST_IN_F32 | TST_ERRORS_NULL | TST_MASK_U8, NUM_DATA, 1, true), "RobustStatsTest() F32 data, non-NULL errors and mask vector");
+//    ok(genericRobustStatsTest(TST_IN_F32 | TST_ERRORS_F32 | TST_MASK_U8, NUM_DATA, 1, true), "RobustStatsTest() F32 data, non-NULL errors and mask vector");
 
     ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
