IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:45:23 AM (18 years ago)
Author:
gusciora
Message:

Significant changes and additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/objects/tap_pmGrowthCurve.c

    r15726 r15985  
    55#include "tap.h"
    66#include "pstap.h"
     7/*
     8    STATUS:
     9        All functions are tested.  However, some of the pmGrowthCurveCorrect()
     10        tests that were supplied by IfA ae failing.
     11*/
    712
    813#define VERBOSE                 0
    9 #define ERR_TRACE_LEVEL         10
     14#define ERR_TRACE_LEVEL         0
    1015
    1116int main(int argc, char* argv[])
     
    1419    psLogSetLevel(PS_LOG_INFO);
    1520    psTraceSetLevel("err", ERR_TRACE_LEVEL);
    16     plan_tests(15);
     21    plan_tests(70);
    1722
    1823    // ----------------------------------------------------------------------
     
    4651    }
    4752
    48     // Call pmGrowthCurveCorrect() with bad type for input pmGrowthCurve arg
    49     // XX: This is commented out for now because we are not asserting, inside
    50     // pmGrowthCurveCorrect(), that input parameters are of the correct type.
    51     if (0) {
    52         psMemId id = psMemGetId();
    53         pmGrowthCurve *growthCurve = pmGrowthCurveAlloc(1.0, 2.0, 3.0);
    54         psVector *junkVec = psVectorAlloc(10, PS_TYPE_F32);
    55         ok(isnan(pmGrowthCurveCorrect((pmGrowthCurve *) junkVec, 0.0)), "pmGrowthCurveCorrect() returned NAN with NULL input pmGrowthCurve");
    56         psFree(growthCurve);
    57         psFree(junkVec);
    58         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    59     }
    60 
    6153
    6254    // Call pmGrowthCurveCorrect() with acceptable input parameters.
Note: See TracChangeset for help on using the changeset viewer.