IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 29, 2005, 10:25:54 AM (21 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psSpline1D.c

    r5181 r5183  
    1313*  @author GLG, MHPCC
    1414*
    15 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    16 *  @date $Date: 2005-09-29 20:20:32 $
     15*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     16*  @date $Date: 2005-09-29 20:25:54 $
    1717*
    1818*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    137137psS32 psSplineEvalTest_sub00(psS32 NumSplines)
    138138{
    139     printf("\n");
    140     printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
    141     printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
    142     printf("and F64 versions of the input x and y vectors.\n");
    143139    psS32 testStatus = true;
    144140    psS32 memLeaks=0;
     
    152148    psSpline1D *tmpSpline = NULL;
    153149
     150    printf("\n");
     151    printf("Calling psVectorFitSpline1D() with NULL y-vector.  Should generate error.\n");
     152    tmpSpline = psVectorFitSpline1D(NULL, NULL);
     153    if (tmpSpline != NULL) {
     154        printf("TEST ERROR: psVectorFitSpline1D() did not return NULL.\n");
     155        testStatus = false;
     156        psFree(tmpSpline);
     157    }
     158
     159    printf("\n");
     160    printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
     161    printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
     162    printf("and F64 versions of the input x and y vectors.\n");
    154163    /****************************************************************************/
    155164    /*    PS_TYPE_F32, PS_TYPE_F32 test          */
Note: See TracChangeset for help on using the changeset viewer.