Index: trunk/psLib/test/image/tst_psImageManip.c
===================================================================
--- trunk/psLib/test/image/tst_psImageManip.c	(revision 1829)
+++ trunk/psLib/test/image/tst_psImageManip.c	(revision 1893)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-18 00:40:15 $
+ *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-25 00:43:55 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -191,12 +191,12 @@
     psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of F32 imagery");
     testImageClipByType(F32);
-    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S32 imagery");
-    testImageClipByType(S32);
+    //    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S32 imagery");
+    //    testImageClipByType(S32);
     psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S16 imagery");
     testImageClipByType(S16);
     psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S8 imagery");
     testImageClipByType(S8);
-    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of U32 imagery");
-    testImageClipByType(U32);
+    //    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of U32 imagery");
+    //    testImageClipByType(U32);
     psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of U16 imagery");
     testImageClipByType(U16);
@@ -225,4 +225,15 @@
         return 4;
     }
+
+    // Verify program execution doesn't stop if the input image type is something
+    // other than U8, U16, S8, S16, F32, F64, C32, C64.
+    img = psImageAlloc(c,r,PS_TYPE_S32);
+    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)");
+    retVal = psImageClip(img,min,-1.0f,max,-2.0f);
+    if (retVal != 0) {
+        psError(__func__,"Expected zero return for clip of invalid image type.");
+        return 5;
+    }
+    psFree(img);
 
     return 0;
@@ -295,4 +306,6 @@
     testImageClipNaNByType(F32);
     testImageClipNaNByType(F64);
+    testImageClipNaNByType(C32);
+    testImageClipNaNByType(C64);
 
     // Verify the retuned integer is zero, psImage structure input is unmodified
