IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2005, 11:36:57 AM (21 years ago)
Author:
desonia
Message:

updated tests in response to source changes.

File:
1 edited

Legend:

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

    r3264 r3311  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2005-02-17 19:26:25 $
     8*  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2005-02-23 21:36:57 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    334334    }
    335335
    336     /* Verify the input image is an invalid type */
    337     psLogMsg( __func__, PS_LOG_INFO, "Following should be an error invalid image type.");
    338     psImage* imgU8 = psImageAlloc( c, r, PS_TYPE_U8 );
    339     out = psImageSlice( out, NULL,
    340                         imgU8,
    341                         mask, 1,
    342                         c/10, r/10,
    343                         c/10+1, r/10+1,
    344                         PS_CUT_X_POS,
    345                         stat);
    346     if ( out != NULL ) {
    347         psError( PS_ERR_UNKNOWN,true, "Input image with invalid type didn't return NULL as expected.");
    348         return 112;
    349     }
    350 
    351336    psFree( image );
    352337    psFree( positions );
     
    354339    psFree( out );
    355340    psFree( stat );
    356     psFree( imgU8 );
    357341    psFree( maskS8 );
    358342    psFree( maskSz );
Note: See TracChangeset for help on using the changeset viewer.