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_psPolyFit3D.c

    r13337 r17567  
    476476            psMemId id = psMemGetId();
    477477            bool rc = psVectorFitPolynomial3D(myPoly, mask, MASK_VALUE, f, fErr, xS32, y, z);
    478             ok(rc == false, "psVectorFitPolynomial3D() returned FALSE: Set x vector to incorrect type");
     478            ok(rc == true, "psVectorFitPolynomial3D() returned TRUE: x vector may be S32");
    479479            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    480480        }
     
    485485            psMemId id = psMemGetId();
    486486            bool rc = psVectorFitPolynomial3D(myPoly, mask, MASK_VALUE, f, fErr, x, yS32, z);
    487             ok(rc == false, "psVectorFitPolynomial3D() returned FALSE: Set y vector to incorrect type");
     487            ok(rc == true, "psVectorFitPolynomial3D() returned TRUE: y vector may be S32");
    488488            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    489489        }
     
    494494            psMemId id = psMemGetId();
    495495            bool rc = psVectorFitPolynomial3D(myPoly, mask, MASK_VALUE, f, fErr, x, y, zS32);
    496             ok(rc == false, "psVectorFitPolynomial3D() returned FALSE: Set z vector to incorrect type");
     496            ok(rc == true, "psVectorFitPolynomial3D() returned TRUE: z vector may be S32");
    497497            ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
    498498        }
Note: See TracChangeset for help on using the changeset viewer.