Changeset 12257 for trunk/psLib/test/imageops/tap_psImagePixelExtract.c
- Timestamp:
- Mar 5, 2007, 5:14:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tap_psImagePixelExtract.c
r11690 r12257 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 2-08 01:26:20$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-06 03:14:01 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 psLogSetFormat("HLNM"); 22 22 psLogSetLevel(PS_LOG_INFO); 23 plan_tests(24 4);23 plan_tests(248); 24 24 25 25 // testImageSlice() … … 396 396 psVector* cols = psVectorAlloc(length,PS_TYPE_F32); 397 397 398 psVector* result = NULL;398 psVector* result = psVectorAlloc(length,PS_TYPE_F32); 399 399 for (psS32 n = 0; n < numPoints; n++) { 400 400 psVector* orig = result; … … 468 468 } 469 469 470 471 470 // Following should be an error (NULL image) 472 471 // XXX: Verify error … … 534 533 for (psS32 i=0; i < 10; i++) { 535 534 radii->data.F32[i] = 10+i*10; 536 radii->n++;537 535 } 538 536 539 537 bool errorFlag = false; 540 psVector* result = NULL; 541 ok(false, "Skipping psImageRadialCut() test because of bugs"); 542 if (0) { 538 psVector* result = psVectorAlloc(10,PS_TYPE_F32); 539 if (1) { 543 540 result = psImageRadialCut(result,image,mask,1,centerX,centerY,radii,stat); 544 541 ok(result != NULL, "psImageRadialCut returned non-NULL"); … … 553 550 ok(!errorFlag, "psImageRadialCut() produced the correct data values"); 554 551 } 555 556 552 // again, but without mask 557 553 psVector* orig = result; 558 ok(false, "Skipping psImageRadialCut() test because of bugs"); 559 if (0) { 554 if (1) { 560 555 result = psImageRadialCut(result,image,NULL,1,centerX,centerY,radii,stat); 561 556 ok(result != NULL, "psImageRadialCut returned non-NULL"); … … 1247 1242 ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks"); 1248 1243 } 1249 /* HERE1250 */1251 1244 }
Note:
See TracChangeset
for help on using the changeset viewer.
