Changeset 13123 for trunk/psLib/test/imageops/tap_psImagePixelManip.c
- Timestamp:
- May 1, 2007, 6:14:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tap_psImagePixelManip.c
r12440 r13123 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 3-14 21:20:28$8 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-05-02 04:14:33 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 psLogSetFormat("HLNM"); 23 23 psLogSetLevel(PS_LOG_INFO); 24 plan_tests( 47);25 26 // test ImageClip()24 plan_tests(107); 25 26 // test psImageClip() 27 27 { 28 28 psMemId id = psMemGetId(); … … 44 44 // Verify the retuned integer is zero, psImage structure input is unmodified 45 45 // and program executions doesn't stop, if input parameter psImage structure 46 // pointer is null.46 // pointer is NULL. 47 47 // 48 48 // Verify the retuned integer is zero, psImage structure input is unmodified … … 111 111 // Verify the retuned integer is zero, psImage structure input is unmodified 112 112 // and program executions doesn't stop, if input parameter psImage structure 113 // pointer is null.113 // pointer is NULL. 114 114 retVal = psImageClip(NULL,min,-1.0f,max,-2.0f); 115 115 ok(retVal == 0, "Expected zero return for clips of a NULL image"); … … 144 144 // 145 145 // Verify the returned integer is zero and program execution doesn't stop, 146 // if the input parameter psImage structure pointer is null.146 // if the input parameter psImage structure pointer is NULL. 147 147 // create image 148 148 #define testImageClipNaNByType(datatype) \ … … 193 193 // Verify the retuned integer is zero, psImage structure input is unmodified 194 194 // and program executions doesn't stop, if input parameter psImage structure 195 // pointer is null.195 // pointer is NULL. 196 196 retVal = psImageClipNaN(NULL,-1.0f); 197 197 ok(retVal == 0, "Expected zero return for clips of a NULL image"); … … 286 286 testOverlayTypeOP(DATATYPE,=,"="); 287 287 288 289 // testOverlayType(F64); 290 // testOverlayType(F32); 291 // testOverlayType(S16); 292 // testOverlayType(S8); 293 // testOverlayType(U16); 294 // testOverlayType(U8); 288 testOverlayType(F64); 289 testOverlayType(F32); 290 testOverlayType(S16); 291 testOverlayType(S8); 292 testOverlayType(U16); 293 testOverlayType(U8); 295 294 296 295 // Verify the returned integer is equal to non-zero and the input psImage structure … … 351 350 // Verify the returned integer is equal to non-zero, the input psImage 352 351 // structure is unmodified and program execution doesn't stop, if the 353 // overlay specified is null.352 // overlay specified is NULL. 354 353 // Following should error as overlay is NULL 355 354 // XXX: Verify error … … 371 370 372 371 // Verify the returned integer is equal to non-zero and program execution 373 // doesn't stop, if the input parameter image is null.372 // doesn't stop, if the input parameter image is NULL. 374 373 // Following should error as image input is NULL 375 374 // XXX: Verify error … … 416 415 ok(retVal != 0, "psImageOverlaySection returned non-zero when checking divide-by-zero"); 417 416 errorFlag = false; 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 417 449 418 for (unsigned row=0;row<r;row++)
Note:
See TracChangeset
for help on using the changeset viewer.
