Index: trunk/psLib/test/math/tap_psRandom.c
===================================================================
--- trunk/psLib/test/math/tap_psRandom.c	(revision 13084)
+++ trunk/psLib/test/math/tap_psRandom.c	(revision 13123)
@@ -47,5 +47,4 @@
     plan_tests(34);
 
-    diag("ensure that psRandom structs are properly allocated by psRandomAlloc()");
     // ensure that psRandom structs are properly allocated by psRandomAlloc()
     {
@@ -81,5 +80,5 @@
     // testRandomUniform(void)
     {
-        diag("testRandomUniform()");
+        // testRandomUniform()
         psMemId id = psMemGetId();
         psVector *rans = psVectorAlloc(NUM_DATA, PS_TYPE_F64);
@@ -91,13 +90,12 @@
 
         // Initialize vector data with random number
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans->data.F64[i] = psRandomUniform(myRNG);
         }
 
         // Perform vector stats on random data (mean, stdev)
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
         stats->options = PS_STAT_SAMPLE_STDEV;
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
 
         // Verify mean and stdev
@@ -132,13 +130,12 @@
 
         // Initialize vector with random data
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans->data.F64[i] = psRandomGaussian(myRNG);
         }
 
         // Perform vector stats on data (mean, stdev)
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
         stats->options = PS_STAT_SAMPLE_STDEV;
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
 
         // Verify mean and stdev
@@ -175,13 +172,12 @@
 
         // Initialize vector with random data
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans->data.F64[i] = psRandomPoisson(myRNG, POISSON_MEAN);
         }
 
         // Perform vector stats on random data (mean, stdev)
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
         stats->options = PS_STAT_SAMPLE_STDEV;
-        stats = psVectorStats(stats, rans, NULL, NULL, 0);
+        psVectorStats(stats, rans, NULL, NULL, 0);
         // Verify mean and stdev
         is_float_tol_per(stats->sampleMean, POISSON_MEAN, ERROR_TOLERANCE, "Mean is within expected range");
@@ -221,16 +217,13 @@
         // Random reset
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans00->data.F64[i] = psRandomUniform(myRNG);
         }
         psRandomReset(myRNG, SEED2);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans01->data.F64[i] = psRandomUniform(myRNG);
         }
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans02->data.F64[i] = psRandomUniform(myRNG);
         }
@@ -273,5 +266,5 @@
     // testRandomResetGaussian(void)
     {
-        diag("testRandomGaussian(): ensure the seed resets properly");
+        // testRandomGaussian(): ensure the seed resets properly
         psMemId id = psMemGetId();
         psVector *rans00 = psVectorAlloc(NUM_DATA, PS_TYPE_F64);
@@ -289,16 +282,13 @@
         // Initialize random data in vectors
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans00->data.F64[i] = psRandomGaussian(myRNG);
         }
         psRandomReset(myRNG, SEED2);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans01->data.F64[i] = psRandomGaussian(myRNG);
         }
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans02->data.F64[i] = psRandomGaussian(myRNG);
         }
@@ -306,6 +296,5 @@
         // Verify data from original seed produces same data after reset
         psBool errorFlag = false;
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             if (rans00->data.F64[i] != rans02->data.F64[i]) {
                 if (VERBOSE) {
@@ -315,5 +304,5 @@
             }
         }
-        ok(!errorFlag, "psRandomUniform() produced the same results with the same seed");
+        ok(!errorFlag, "psRandomGaussian() produced the same results with the same seed");
         skip_end();
         psFree(myRNG);
@@ -342,16 +331,13 @@
         // Initialize vectors with random data
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans00->data.F64[i] = psRandomPoisson(myRNG, POISSON_MEAN);
         }
         psRandomReset(myRNG, SEED2);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans01->data.F64[i] = psRandomPoisson(myRNG, POISSON_MEAN);
         }
         psRandomReset(myRNG, SEED);
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             rans02->data.F64[i] = psRandomPoisson(myRNG, POISSON_MEAN);
         }
@@ -359,6 +345,5 @@
         // Verify the original seed produces same data after reset
         psBool errorFlag = false;
-        for (psS32 i = 0 ; i < NUM_DATA ; i++)
-        {
+        for (psS32 i = 0 ; i < NUM_DATA ; i++) {
             if (rans00->data.F64[i] != rans02->data.F64[i]) {
                 if (VERBOSE) {
@@ -368,5 +353,5 @@
             }
         }
-        ok(!errorFlag, "psRandomUniform() produced the same results with the same seed");
+        ok(!errorFlag, "psRandomPoisson() produced the same results with the same seed");
         skip_end();
         psFree(myRNG);
