Index: /trunk/psLib/test/dataManip/tst_psMatrix01.c
===================================================================
--- /trunk/psLib/test/dataManip/tst_psMatrix01.c	(revision 898)
+++ /trunk/psLib/test/dataManip/tst_psMatrix01.c	(revision 899)
@@ -11,6 +11,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-28 02:52:23 $
+ *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-06-07 20:47:52 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -32,4 +32,5 @@
          char* argv[])
 {
+    psImage *tempImage = NULL;
 
 
@@ -53,6 +54,12 @@
     // Test B - Transpose input image into output image
     printPositiveTestHeader(stdout, "psMatrix", "Transpose input image into output image");
-    psMatrixTranspose(outImage, inImage);
+    tempImage = outImage;
+    outImage = psMatrixTranspose(outImage, inImage);
     PRINT_MATRIX(outImage);
+    if(outImage->type.dimen != PS_DIMEN_IMAGE) {
+        printf("Error: Resulting image is not PS_DIMEN_IMAGE\n");
+    } else if(outImage != tempImage) {
+        printf("Error: Return pointer not equal to output argument pointer\n");
+    }
     printFooter(stdout, "psMatrix", "Transpose input image into output image", true);
 
