IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1943


Ignore:
Timestamp:
Oct 1, 2004, 4:23:05 PM (22 years ago)
Author:
evanalst
Message:

Updated test case for psImageClip

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

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageManip.c

    r1934 r1943  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-09-30 20:32:21 $
     8 *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-10-02 02:23:05 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    174174    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of F32 imagery");
    175175    testImageClipByType(F32);
    176     //    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S32 imagery");
    177     //    testImageClipByType(S32);
     176    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S32 imagery");
     177    testImageClipByType(S32);
    178178    psLogMsg(__func__,PS_LOG_INFO,"Testing clipping of S16 imagery");
    179179    testImageClipByType(S16);
     
    211211    // Verify program execution doesn't stop if the input image type is something
    212212    // other than U8, U16, S8, S16, F32, F64, C32, C64.
    213     img = psImageAlloc(c,r,PS_TYPE_S32);
     213    img = psImageAlloc(c,r,PS_TYPE_U32);
    214214    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)");
    215215    retVal = psImageClip(img,min,-1.0f,max,-2.0f);
  • trunk/psLib/test/image/verified/tst_psImageManip.stderr

    r1934 r1943  
    1111<DATE><TIME>|<HOST>|I|testImageClip
    1212    Testing clipping of F32 imagery
     13<DATE><TIME>|<HOST>|I|testImageClip
     14    Testing clipping of S32 imagery
    1315<DATE><TIME>|<HOST>|I|testImageClip
    1416    Testing clipping of S16 imagery
     
    3032    Following should be an error (invalid type)
    3133<DATE><TIME>|<HOST>|E|psLib.image.psImageClip
    32     Specified psImage type, psS32, is not supported.
     34    Specified psImage type, psU32, is not supported.
    3335
    3436---> TESTPOINT PASSED (psImage{psImageClip} | tst_psImageManip.c)
Note: See TracChangeset for help on using the changeset viewer.