Changeset 1406 for trunk/psLib/test/dataManip/tst_psMatrix07.c
- Timestamp:
- Aug 6, 2004, 12:34:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMatrix07.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMatrix07.c
r1073 r1406 16 16 * @author Ross Harman, MHPCC 17 17 * 18 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $19 * @date $Date: 2004-0 6-23 23:00:17$18 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 19 * @date $Date: 2004-08-06 22:34:06 $ 20 20 * 21 21 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 88 88 if(v1->type.dimen != PS_DIMEN_VECTOR) { 89 89 printf("Error: Resulting image is not PS_DIMEN_VECTOR\n"); 90 } else if(v1 != tempVector) { 91 printf("Error: Return pointer not equal to output argument pointer\n"); 92 } 90 } else 91 if(v1 != tempVector) { 92 printf("Error: Return pointer not equal to output argument pointer\n"); 93 } 93 94 printFooter(stdout, "psMatrix", "Convert matrix to PS_DIMEN_VECTOR vector", true); 94 95 … … 108 109 if(v1->type.dimen != PS_DIMEN_TRANSV) { 109 110 printf("Error: Resulting image is not PS_DIMEN_TRANSV\n"); 110 } else if(v1 != tempVector) { 111 printf("Error: Return pointer not equal to output argument pointer\n"); 112 } 111 } else 112 if(v1 != tempVector) { 113 printf("Error: Return pointer not equal to output argument pointer\n"); 114 } 113 115 printFooter(stdout, "psMatrix", "Convert matrix to PS_DIMEN_TRANSV vector", true); 114 116 … … 128 130 if(m2->type.dimen != PS_DIMEN_IMAGE) { 129 131 printf("Error: Resulting image is not PS_DIMEN_IMAGE\n"); 130 } else if(m2 != tempImage) { 131 printf("Error: Return pointer not equal to output argument pointer\n"); 132 } 132 } else 133 if(m2 != tempImage) { 134 printf("Error: Return pointer not equal to output argument pointer\n"); 135 } 133 136 printFooter(stdout, "psMatrix", "Convert PS_DIMEN_VECTOR vector to matrix", true); 134 137 … … 149 152 if(m3->type.dimen != PS_DIMEN_IMAGE) { 150 153 printf("Error: Resulting image is not PS_DIMEN_IMAGE\n"); 151 } else if(m3 != tempImage) { 152 printf("Error: Return pointer not equal to output argument pointer\n"); 153 } 154 } else 155 if(m3 != tempImage) { 156 printf("Error: Return pointer not equal to output argument pointer\n"); 157 } 154 158 printFooter(stdout, "psMatrix", "Convert PS_DIMEN_TRANSV vector to matrix", true); 155 159
Note:
See TracChangeset
for help on using the changeset viewer.
