IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

merged fixes found on eam_rel9_b1 branch.

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.