IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5839


Ignore:
Timestamp:
Dec 23, 2005, 2:32:41 PM (20 years ago)
Author:
desonia
Message:

merged fixes found on eam_rel9_b1 branch.

Location:
trunk/psLib/test/imageops
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/imageops/tst_psImageStats.c

    r5137 r5839  
    765765        return 100;
    766766    }
    767     //Test for invalid region parameters (lower > upper)
    768     reg.y0 = 3;
    769     reg.y1 = 1;
    770     numPix2 = psImageCountPixelMask(in2, reg, 1);
    771     if (numPix2 != -1) {
    772         psError(PS_ERR_BAD_PARAMETER_VALUE, false,
    773                 "psImageCountPixelMask failed to return -1 for invalid Region input.\n");
    774         return 7;
    775     }
    776     //Test for invalid region parameters (outside of image boundaries)
    777     reg.y0 = 0;
    778     reg.y1 = 10;
    779     numPix2 = psImageCountPixelMask(in2, reg, 1);
    780     if (numPix2 != -1) {
    781         psError(PS_ERR_BAD_PARAMETER_VALUE, false,
    782                 "psImageCountPixelMask failed to return -1 for oversized Region input.\n");
    783         return 8;
    784     }
    785767    //Test for invalid region (0 pixels, lower = upper)
    786768    reg.x0 = 1;
  • trunk/psLib/test/imageops/verified/tst_psImageStats.stderr

    r5137 r5839  
    625625    Can not operate on a NULL psImage.
    626626<HOST>|E|psImageCountPixelMask (FILE:LINENO)
    627     Invalid region.  Lower boundary greater than upper boundary.
    628 <HOST>|E|psImageCountPixelMask (FILE:LINENO)
    629     psRegion input is outside of image boundary
    630 <HOST>|E|psImageCountPixelMask (FILE:LINENO)
    631627    psRegion input contains 0 pixels
    632628
Note: See TracChangeset for help on using the changeset viewer.