Changeset 12431 for trunk/psLib/test/math/tap_psMatrixVectorArithmetic03.c
- Timestamp:
- Mar 13, 2007, 2:39:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tap_psMatrixVectorArithmetic03.c
r10945 r12431 9 9 * Inconsistent dimensionality 10 10 * Division by zero 11 * Attempt to use min with complex numbers12 * Attempt to use max with complex numbers13 11 * Invalid operation 14 12 * … … 17 15 * @author Ross Harman, MHPCC 18 16 * 19 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $20 * @date $Date: 2007-0 1-06 00:48:54$17 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 18 * @date $Date: 2007-03-14 00:39:51 $ 21 19 * 22 20 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 56 54 CREATE_AND_SET_IMAGE(image3,F32,0,3,3); 57 55 CREATE_AND_SET_IMAGE(image4,F64,0,2,2); 58 CREATE_AND_SET_IMAGE(image5,C32,1+1i,3,3);59 56 CREATE_AND_SET_VECTOR(vector1,F64,0,2); 60 57 CREATE_AND_SET_VECTOR(vector2,F64,0,3); … … 203 200 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 204 201 } 205 206 // Attempt to use min with complex numbers207 // Following should generate error message208 if (0) {209 psMemId id = psMemGetId();210 psImage* image6 = (psImage*)psBinaryOp(image6, image5, "min", image5);211 ok(image6 == NULL, "psUnaryOp returned NULL with min of complex numbers");212 psFree(image6);213 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");214 }215 216 217 // Attempt to use max with complex numbers218 // Following should generate an error message219 if (0) {220 psMemId id = psMemGetId();221 psImage* image6 = (psImage*)psBinaryOp(image6, image5, "max", image5);222 ok(image6 == NULL, "psUnaryOp returned NULL with max of complex numbers");223 psFree(image6);224 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");225 }226 227 202 228 203 // Invalid operation
Note:
See TracChangeset
for help on using the changeset viewer.
