IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13308


Ignore:
Timestamp:
May 7, 2007, 8:36:51 PM (19 years ago)
Author:
gusciora
Message:

Got rid of tests for unallowed polynomial type (moved elsewhere).

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

Legend:

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

    r13305 r13308  
    44*  ORD and CHEB type polynomials.
    55*
    6 *  @version  $Revision: 1.8 $  $Name: not supported by cvs2svn $
    7 *  @date  $Date: 2007-05-08 06:21:16 $
     6*  @version  $Revision: 1.9 $  $Name: not supported by cvs2svn $
     7*  @date  $Date: 2007-05-08 06:36:51 $
    88*
    99*  XXX: Probably should test single- and multi-dimensional polynomials in
     
    4444    psLogSetFormat("HLNM");
    4545    psLogSetLevel(PS_LOG_INFO);
    46     plan_tests(30);
    47 
    48 
    49     // Allocate polynomial with unallowable type
    50     {
    51         psMemId id = psMemGetId();
    52         psPolynomial1D* polyOrd = psPolynomial1DAlloc(99, TERMS-1);
    53         ok(polyOrd==NULL, "psPolynomial1DAlloc() returned NULL with unallowed type");
    54         psFree(polyOrd);
    55         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    56     }
     46    plan_tests(28);
    5747
    5848
  • trunk/psLib/test/math/tap_psPolynomialEval2D.c

    r13124 r13308  
    44*  ORD and CHEB type polynomials.
    55*
    6 *  @version  $Revision: 1.6 $  $Name: not supported by cvs2svn $
    7 *  @date  $Date: 2007-05-02 04:20:06 $
     6*  @version  $Revision: 1.7 $  $Name: not supported by cvs2svn $
     7*  @date  $Date: 2007-05-08 06:36:51 $
    88*
    99* Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    7070    psLogSetFormat("HLNM");
    7171    psLogSetLevel(PS_LOG_INFO);
    72     plan_tests(40);
    73 
    74 
    75     // Allocate polynomial with unallowed type
    76     {
    77         psMemId id = psMemGetId();
    78         psPolynomial2D* polyOrd = psPolynomial2DAlloc(99, TERMS-1, TERMS-1);
    79         ok(polyOrd == NULL, "psPolynomial2DAlloc() returned NULL with unallowed tpye");
    80         psFree(polyOrd);
    81         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    82     }
     72    plan_tests(38);
    8373
    8474
  • trunk/psLib/test/math/tap_psPolynomialEval3D.c

    r13127 r13308  
    44*  ORD and CHEB type polynomials.
    55*
    6 *  @version  $Revision: 1.7 $  $Name: not supported by cvs2svn $
    7 *  @date  $Date: 2007-05-02 04:34:13 $
     6*  @version  $Revision: 1.8 $  $Name: not supported by cvs2svn $
     7*  @date  $Date: 2007-05-08 06:36:51 $
    88*
    99* Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    121121    psLogSetFormat("HLNM");
    122122    psLogSetLevel(PS_LOG_INFO);
    123     plan_tests(48);
    124 
    125 
    126     // Allocate polynomial with unallowed type
    127     {
    128         psMemId id = psMemGetId();
    129         psPolynomial3D* polyOrd = psPolynomial3DAlloc(99, TERMS-1, TERMS-1, TERMS-1);
    130         ok(polyOrd == NULL, "psPolynomial3DAlloc() returned NULL with unallowed type");
    131         psFree(polyOrd);
    132         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    133 
    134     }
     123    plan_tests(46);
    135124
    136125
  • trunk/psLib/test/math/tap_psPolynomialEval4D.c

    r13124 r13308  
    44*  ORD and CHEB type polynomials.
    55*
    6 *  @version  $Revision: 1.5 $  $Name: not supported by cvs2svn $
    7 *  @date  $Date: 2007-05-02 04:20:06 $
     6*  @version  $Revision: 1.6 $  $Name: not supported by cvs2svn $
     7*  @date  $Date: 2007-05-08 06:36:51 $
    88*
    99* Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    363363    psLogSetFormat("HLNM");
    364364    psLogSetLevel(PS_LOG_INFO);
    365     plan_tests(56);
    366 
    367 
    368     // Allocate polynomial with unallowed type
    369     {
    370         psMemId id = psMemGetId();
    371         psPolynomial4D* polyOrd = psPolynomial4DAlloc(99, TERMS-1, TERMS-1, TERMS-1, TERMS-1);
    372         ok(polyOrd == NULL, "psPolynomial4DAlloc() returned NULL with unallowed type");
    373         psFree(polyOrd);
    374         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    375     }
     365    plan_tests(54);
    376366
    377367
Note: See TracChangeset for help on using the changeset viewer.