IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 7, 2008, 1:12:13 PM (18 years ago)
Author:
eugene
Message:

various test fixes and cleanups

File:
1 edited

Legend:

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

    r17515 r17567  
    536536            psMemId id = psMemGetId();
    537537            bool rc = psVectorFitPolynomial4D(myPoly, mask, MASK_VALUE, f, fErr, xS32, y, z, t);
    538             ok(rc == false, "psVectorFitPolynomial4D() returned FALSE: Set x vector to incorrect type");
     538            ok(rc == true, "psVectorFitPolynomial4D() returned TRUE: x vector may be S32");
    539539            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    540540        }
     
    545545            psMemId id = psMemGetId();
    546546            bool rc = psVectorFitPolynomial4D(myPoly, mask, MASK_VALUE, f, fErr, x, yS32, z, t);
    547             ok(rc == false, "psVectorFitPolynomial4D() returned FALSE: Set y vector to incorrect type");
     547            ok(rc == true, "psVectorFitPolynomial4D() returned TRUE: y vector may be S32");
    548548            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    549549        }
     
    554554            psMemId id = psMemGetId();
    555555            bool rc = psVectorFitPolynomial4D(myPoly, mask, MASK_VALUE, f, fErr, x, y, zS32, t);
    556             ok(rc == false, "psVectorFitPolynomial4D() returned FALSE: Set z vector to incorrect type");
     556            ok(rc == true, "psVectorFitPolynomial4D() returned TRUE: z vector may be S32");
    557557            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    558558        }
     
    563563            psMemId id = psMemGetId();
    564564            bool rc = psVectorFitPolynomial4D(myPoly, mask, MASK_VALUE, f, fErr, x, y, z, tS32);
    565             ok(rc == false, "psVectorFitPolynomial4D() returned FALSE: Set t vector to incorrect type");
     565            ok(rc == true, "psVectorFitPolynomial4D() returned TRUE: t vector may be S32");
    566566            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    567567        }
Note: See TracChangeset for help on using the changeset viewer.