Changeset 6750 for trunk/psLib/test/imageops/tst_psImageStats.c
- Timestamp:
- Mar 31, 2006, 4:43:57 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/imageops/tst_psImageStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tst_psImageStats.c
r6306 r6750 543 543 psRegion reg; 544 544 reg.x0 = 0; 545 reg.x1 = 1;545 reg.x1 = 0; 546 546 reg.y0 = 0; 547 reg.y1 = 5; 547 reg.y1 = 4; 548 549 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message"); 548 550 numPix = psImageCountPixelMask(in, reg, 1); 549 550 551 if (numPix != -1) { 551 552 psError(PS_ERR_BAD_PARAMETER_VALUE, false, … … 587 588 if (numPix2 != 2) { 588 589 psError(PS_ERR_BAD_PARAMETER_VALUE, false, 589 "psImageCountPixelMask returned incorrect pixel count %ld \n", numPix2);590 "psImageCountPixelMask returned incorrect pixel count %ld (!=2)\n", numPix2); 590 591 return 4; 591 592 } … … 613 614 reg.x1 = 1; 614 615 reg.y1 = 1; 616 psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message"); 615 617 numPix2 = psImageCountPixelMask(in2, reg, 1); 616 618 if (numPix2 != -1) {
Note:
See TracChangeset
for help on using the changeset viewer.
