Changeset 15985 for trunk/psModules/test/objects/tap_pmGrowthCurve.c
- Timestamp:
- Jan 2, 2008, 10:45:23 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/objects/tap_pmGrowthCurve.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/objects/tap_pmGrowthCurve.c
r15726 r15985 5 5 #include "tap.h" 6 6 #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 */ 7 12 8 13 #define VERBOSE 0 9 #define ERR_TRACE_LEVEL 1014 #define ERR_TRACE_LEVEL 0 10 15 11 16 int main(int argc, char* argv[]) … … 14 19 psLogSetLevel(PS_LOG_INFO); 15 20 psTraceSetLevel("err", ERR_TRACE_LEVEL); 16 plan_tests( 15);21 plan_tests(70); 17 22 18 23 // ---------------------------------------------------------------------- … … 46 51 } 47 52 48 // Call pmGrowthCurveCorrect() with bad type for input pmGrowthCurve arg49 // XX: This is commented out for now because we are not asserting, inside50 // 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 61 53 62 54 // Call pmGrowthCurveCorrect() with acceptable input parameters.
Note:
See TracChangeset
for help on using the changeset viewer.
