Changeset 2679 for trunk/psLib/test/dataManip/tst_psMatrix02.c
- Timestamp:
- Dec 9, 2004, 12:50:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix02.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix02.c
r2204 r2679 7 7 * B) Null input psImage 8 8 * C) Incorrect type for input pointer 9 * D) Matrix not square for input pointer 10 * E) Incorrect type for output pointer 11 * F) Matrix not square for output pointer 9 * D) Incorrect type for output pointer 10 * E) Matrix not square for output pointer 12 11 * 13 12 * @author Ross Harman, MHPCC 14 13 * 15 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-1 0-27 00:57:33$14 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-12-09 22:50:39 $ 17 16 * 18 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 29 28 psImage *inImage = (psImage*)psImageAlloc(3, 3, PS_TYPE_F64); 30 29 psImage *outImage = (psImage*)psImageAlloc(3, 3, PS_TYPE_F64); 31 psImage *badImage1 = (psImage*)psImageAlloc(3, 3, PS_TYPE_ F32);30 psImage *badImage1 = (psImage*)psImageAlloc(3, 3, PS_TYPE_C32); 32 31 psImage *badImage2 = (psImage*)psImageAlloc(3, 2, PS_TYPE_F64); 33 32 … … 50 49 printFooter(stdout, "psMatrix", "Incorrect type for input pointer", true); 51 50 52 // Test D - Matrix not square for input pointer 53 printNegativeTestHeader(stdout,"psMatrix", "Matrix not square for input pointer", 54 "Invalid operation: inImage not square array.", 0); 55 psMatrixTranspose(outImage, badImage2); 56 printFooter(stdout, "psMatrix", "Matrix not square for input pointer", true); 57 58 // Test E - Incorrect type for output pointer 51 // Test D - Incorrect type for output pointer 59 52 printNegativeTestHeader(stdout,"psMatrix", "Incorrect type for output pointer", 60 53 "Invalid operation: outImage not PS_TYPE_F64.", 0); … … 62 55 printFooter(stdout, "psMatrix", "Incorrect type for output pointer", true); 63 56 64 // Test F- Matrix not square for output pointer57 // Test E - Matrix not square for output pointer 65 58 printNegativeTestHeader(stdout,"psMatrix", "Matrix not square for output pointer", 66 59 "Invalid operation: outImage not square array.", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
