Changeset 899
- Timestamp:
- Jun 7, 2004, 10:47:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix01.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix01.c
r798 r899 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-0 5-28 02:52:23$13 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-06-07 20:47:52 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 32 32 char* argv[]) 33 33 { 34 psImage *tempImage = NULL; 34 35 35 36 … … 53 54 // Test B - Transpose input image into output image 54 55 printPositiveTestHeader(stdout, "psMatrix", "Transpose input image into output image"); 55 psMatrixTranspose(outImage, inImage); 56 tempImage = outImage; 57 outImage = psMatrixTranspose(outImage, inImage); 56 58 PRINT_MATRIX(outImage); 59 if(outImage->type.dimen != PS_DIMEN_IMAGE) { 60 printf("Error: Resulting image is not PS_DIMEN_IMAGE\n"); 61 } else if(outImage != tempImage) { 62 printf("Error: Return pointer not equal to output argument pointer\n"); 63 } 57 64 printFooter(stdout, "psMatrix", "Transpose input image into output image", true); 58 65
Note:
See TracChangeset
for help on using the changeset viewer.
