IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5183 for trunk/psLib/test/math


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

....

Location:
trunk/psLib/test/math
Files:
4 edited

Legend:

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

    r5182 r5183  
    33 
    44    XXX: This code needs a lot of additional test case work.
     5    XXX: Use the tst_template.
    56 *****************************************************************************/
    67#include <stdio.h>
     
    123124    psTraceSetDestination(1);
    124125    psTraceSetLevel(".", 0);
    125     psTraceSetLevel(__func__, 10);
    126     psTraceSetLevel("t01", 10);
    127     psTraceSetLevel("psMinimizeLMChi2_OLD", 10);
    128     psTraceSetLevel("psMinimizeLMChi2", 10);
     126    psTraceSetLevel(__func__, 0);
     127    psTraceSetLevel("t01", 0);
     128    psTraceSetLevel("psMinimizeLMChi2_OLD", 0);
     129    psTraceSetLevel("psMinimizeLMChi2", 0);
    129130    psTraceSetLevel("psMinimizeGaussNewtonDelta", 0);
    130131    psTraceSetLevel("psMinimizeGaussNewtonDelta_EAM", 0);
  • 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          */
  • trunk/psLib/test/math/verified/tst_psSpline1D.stderr

    r5155 r5183  
    1414\**********************************************************************************/
    1515
     16<HOST>|E|psVectorFitSpline1D (FILE:LINENO)
     17    Unallowable operation: psVector y or its data is NULL.
    1618
    1719---> TESTPOINT PASSED (psSpline1D{(TEST B) psSplineEvalTest} | tst_psSpline1D.c)
  • trunk/psLib/test/math/verified/tst_psSpline1D.stdout

    r5181 r5183  
     1
     2Calling psVectorFitSpline1D() with NULL y-vector.  Should generate error.
    13
    24psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very
Note: See TracChangeset for help on using the changeset viewer.