Index: /trunk/psLib/test/types/tap_psBitSet_all.c
===================================================================
--- /trunk/psLib/test/types/tap_psBitSet_all.c	(revision 12209)
+++ /trunk/psLib/test/types/tap_psBitSet_all.c	(revision 12210)
@@ -66,24 +66,27 @@
 
     //BitSetSet Tests
-    //Return NULL for NULL input psBitSet
-    {
-        bool rc = psBitSetSet(noBits, 0);
-        ok( rc == true,
-            "psBitSetSet:           return TRUE for NULL BitSet input.");
-    }
-    //Return input BitSet for negative bit input
+    //Return FALSE for NULL input psBitSet
+    {
+        bool rc = psBitSetSet(NULL, 0);
+        ok(rc == false,
+            "psBitSetSet:           return FALSE for NULL BitSet input.");
+    }
+    //Return FALSE for negative bit input
     {
         bool rc = psBitSetSet(bs, -1);
-        ok( rc == true,
+        ok( rc == false,
             "psBitSetSet:           return TRUE for negative bits input.");
         noBits = NULL;
     }
-    //Return input BitSet for out-of-range bits
-    {
+    //Return FALSE for out-of-range bits
+    {
+        psFree(bs);
+        bs = psBitSetAlloc(8);
         bool rc = psBitSetSet(bs, 8);
-        ok( rc = true,
+        ok( rc == false,
             "psBitSetSet:           return TRUE for out-of-range bits input.");
         noBits = NULL;
     }
+
     //Return set BitSet for valid inputs
     {
@@ -94,5 +97,5 @@
 
     //BitSetClear Tests
-    //Return NULL for NULL input psBitSet
+    //Return FALSE for NULL input psBitSet
     {
         bool rc = psBitSetClear(noBits, 0);
@@ -100,18 +103,19 @@
             "psBitSetClear:         return FALSE for NULL BitSet input.");
     }
-    //Return input BitSet for negative bit input
+    //Return FALSE for negative bit input
     {
         bool rc = psBitSetClear(bs, -1);
-        ok( rc = true,
+        ok( rc == false,
             "psBitSetClear:        return TRUE for negative bits input.");
         noBits = NULL;
     }
-    //Return input BitSet for out-of-range bits
+    //Return FALSE for out-of-range bits
     {
         bool rc = psBitSetClear(bs, 8);
-        ok( rc == true,
-            "psBitSetClear:        return TRUE for out-of-range bits input.");
-        noBits = NULL;
-    }
+        ok( rc == false,
+            "psBitSetClear:        return FALSE for out-of-range bits input.");
+        noBits = NULL;
+    }
+
     //Return cleared BitSet for valid inputs
     {
