IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2025, 4:42:12 PM (12 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/imageops

    • Property svn:ignore
      •  

        old new  
        3838tap_psImageMapFit
        3939tap_psImageMapFit2
         40tap_psImageCovariance
         41tap_psImageSmoothMask_Threaded
         42test-suite.log
  • trunk/psLib/test/imageops/tap_psImageMapFit2.c

    r20767 r42822  
    6161
    6262        // fit the data to the map
    63         psImageMapFit (map, x, y, f, NULL);
     63        bool status;
     64        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     65        ok (status, "ok fit");
     66        // psImageMapFit (map, x, y, f, NULL);
    6467
    6568        psImage *field = psImageAlloc(1000, 1000, PS_TYPE_F32);
     
    124127        for (int ix = 0; ix < 1000; ix += 20) {
    125128            for (int iy = 0; iy < 1000; iy += 20) {
    126                 x->data.F32[x->n] = ix + 0,5;
     129                x->data.F32[x->n] = ix + 0.5;
    127130                y->data.F32[y->n] = iy + 0.5;
    128131                f->data.F32[f->n] = PS_SQR(x->data.F32[x->n]) + PS_SQR(y->data.F32[x->n]);
     
    141144        // XXX this function needs to correct for the mean superpixel position
    142145        // which is sampled...
    143         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     146        bool status;
     147        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     148        ok (status, "ok fit");
     149        // psImageMapFit (map, NULL, 0, x, y, f, NULL);
    144150        psFree (binning);
    145151
Note: See TracChangeset for help on using the changeset viewer.