Changeset 1896 for trunk/psLib/test/image/tst_psImageManip.c
- Timestamp:
- Sep 24, 2004, 3:38:24 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageManip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r1895 r1896 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-09-25 01: 13:14 $8 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-09-25 01:38:24 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 582 582 testImageClipComplexByType(C32,10.0+I*10.0,(double)FLT_MAX*2.0+I*(double)FLT_MAX*2.0); 583 583 584 // Verify program execution doesn't stop if the input image type is something 585 // other than C32, C64. 586 img = psImageAlloc(c,r,PS_TYPE_S32); 587 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)"); 588 retVal = psImageClipComplexRegion(img,2.0,10.0,5.0,0.0); 589 if (retVal != 0) { 590 psError(__func__,"Expected zero return for clip of invalid image type."); 591 return 84; 592 } 593 psFree(img); 594 584 595 return 0; 585 596 }
Note:
See TracChangeset
for help on using the changeset viewer.
