IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2025, 4:42:12 PM (15 months ago)
Author:
eugene
Message:

remove old deprecated tests, add some new ones

Location:
trunk/psLib/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test

    • Property svn:ignore
      •  

        old new  
        66*.da
        77gmon.out
         8test.00.jpg
         9test.01.jpg
         10test.02.jpg
         11test.03.jpg
         12test.04.jpg
         13test.05.jpg
         14test.06.jpg
         15test.07.jpg
         16test.08.jpg
         17test.09.jpg
         18test.10.jpg
         19test.11.jpg
         20test.12.jpg
         21test.im.fits
         22test.mk.fits
         23test.sm1.fits
         24test.sm2.fits
         25test.sm3.fits
         26test.sm4.fits
         27tmpImages
         28tst_psTrace02_OUT
  • trunk/psLib/test/astro

    • Property svn:ignore
      •  

        old new  
        1010test.psTime.config4
        1111test.ser7.dat
        12 tst_psCoord
        13 tst_psCoord01
        14 tst_psSphereOps
        15 tst_psTime_01
        16 tst_psTime_02
        17 tst_psTime_03
        18 tst_psTime_04
        19 tst_psEarthOrientation
        20 tst_psCoord02
        2112*.bb
        2213*.bbg
         
        3223tap_psTime_03
        3324tap_psTime_04
         25test-suite.log
  • trunk/psLib/test/astro/tap_psCoord.c

    r13623 r42822  
    4848    {
    4949        psMemId id = psMemGetId();
    50         psPlaneTransform *myPT = psPlaneTransformAlloc(ORDER_X, ORDER_Y);
     50        psPlaneTransform *myPT = psPlaneTransformAlloc(ORDER_X, ORDER_Y, PS_POLYNOMIAL_ORD);
    5151        ok(myPT != NULL, "psPlaneTransformAlloc() returned non-NULL");
    5252        skip_start(myPT == NULL, 4, "Skipping tests because psPlaneTransformAlloc() returned NULL");
     
    5959        // Attempt to specify negative x order and verify NULL returned and
    6060        // errror message generated
    61         myPT = psPlaneTransformAlloc(-1, 1);
     61        myPT = psPlaneTransformAlloc(-1, 1, PS_POLYNOMIAL_ORD);
    6262        ok(myPT == NULL, "psPlaneTransformAlloc(-1, 1) returned NULL");
    6363        psFree(myPT);
    6464
    65         myPT = psPlaneTransformAlloc(1, -1);
     65        myPT = psPlaneTransformAlloc(1, -1, PS_POLYNOMIAL_ORD);
    6666        ok(myPT == NULL, "psPlaneTransformAlloc(1, -1) returned NULL");
    6767        psFree(myPT);
     
    110110        ok(in != NULL, "psPlaneAlloc() returned non-NULL");
    111111        skip_start(in == NULL, 2, "Skipping tests because psPlaneAlloc() returned NULL");
    112         psPlaneTransform* pt = psPlaneTransformAlloc(2,2);
     112        psPlaneTransform* pt = psPlaneTransformAlloc(2, 2, PS_POLYNOMIAL_ORD);
    113113        ok(pt != NULL, "psPlaneTransformAlloc() returned non-NULL");
    114114        skip_start(pt == NULL, 1, "Skipping tests because psPlaneTransformAlloc() returned NULL");
     
    169169        psMemId id = psMemGetId();
    170170        psPlane *in = psPlaneAlloc();
    171         psPlaneTransform *pt = psPlaneTransformAlloc(2,2);
     171        psPlaneTransform *pt = psPlaneTransformAlloc(2, 2, PS_POLYNOMIAL_ORD);
    172172        psFree(pt->x);
    173173        pt->x = NULL;
     
    184184        psMemId id = psMemGetId();
    185185        psPlane* in = psPlaneAlloc();
    186         psPlaneTransform* pt = psPlaneTransformAlloc(2,2);
     186        psPlaneTransform* pt = psPlaneTransformAlloc(2,2, PS_POLYNOMIAL_ORD);
    187187        psFree(pt->y);
    188188        pt->y = NULL;
     
    198198    {
    199199        psMemId id = psMemGetId();
    200         psPlaneTransform* pt = psPlaneTransformAlloc(2,2);
     200        psPlaneTransform* pt = psPlaneTransformAlloc(2,2, PS_POLYNOMIAL_ORD);
    201201        psPlane *tmpPL = psPlaneTransformApply(NULL, pt, NULL);
    202202        ok(tmpPL == NULL, "psPlaneTransformApply(NULL, pt, NULL) did not return NULL");
     
    314314    {
    315315        psMemId id = psMemGetId();
    316         psPlaneTransform *trans = psPlaneTransformAlloc(1, 3);
     316        psPlaneTransform *trans = psPlaneTransformAlloc(1, 3, PS_POLYNOMIAL_ORD);
    317317        psPixels *output = psPixelsTransform(NULL, NULL, trans);
    318318        ok(output == NULL, "psPixelsTransform(NULL, NULL, trans) returned NULL");
     
    342342        input->data[1].x = 1.0;
    343343        input->data[1].y = 6.0;
    344         psPlaneTransform *trans = psPlaneTransformAlloc(1, 3);
     344        psPlaneTransform *trans = psPlaneTransformAlloc(1, 3, PS_POLYNOMIAL_ORD);
    345345        trans->x->coeff[0][0] = 0;
    346346        trans->x->coeff[1][0] = 1.0;
Note: See TracChangeset for help on using the changeset viewer.