IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2023, 4:59:00 AM (3 years ago)
Author:
eugene
Message:

fixing tests so they compile (need to address some API changes to psPlaneTranformAlloc, psImageMapFit; fix unused vars, etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psLib/test/imageops/tap_psImageMapFit.c

    r20767 r42493  
    7979
    8080        // fit the data to the map
    81         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     81        bool status;
     82        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     83        ok (status, "ok fit");
    8284
    8385        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    153155
    154156        // fit the data to the map
    155         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     157        bool status;
     158        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     159        ok (status, "ok fit");
    156160
    157161        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    235239
    236240        // fit the data to the map
    237         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     241        bool status;
     242        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     243        ok (status, "ok fit");
    238244
    239245        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    318324
    319325        // fit the data to the map
    320         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     326        bool status;
     327        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     328        ok (status, "ok fit");
    321329
    322330        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    384392
    385393        // fit the data to the map
    386         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     394        bool status;
     395        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     396        ok (status, "ok fit");
    387397
    388398        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    445455
    446456        // fit the data to the map
    447         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     457        bool status;
     458        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     459        ok (status, "ok fit");
    448460
    449461        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    526538
    527539        // fit the data to the map
    528         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     540        bool status;
     541        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     542        ok (status, "ok fit");
    529543
    530544        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    595609
    596610        // fit the data to the map
    597         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     611        bool status;
     612        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     613        ok (status, "ok fit");
    598614
    599615        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    686702
    687703        // fit the data to the map
    688         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     704        bool status;
     705        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     706        ok (status, "ok fit");
    689707
    690708        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    753771
    754772        // fit the data to the map
    755         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     773        bool status;
     774        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     775        ok (status, "ok fit");
    756776
    757777        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
     
    814834
    815835        // fit the data to the map
    816         psImageMapFit (map, NULL, 0, x, y, f, NULL);
     836        bool status;
     837        psImageMapFit (&status, map, NULL, 0, x, y, f, NULL);
     838        ok (status, "ok fit");
    817839
    818840        psImage *model = psImageAlloc(field->numCols, field->numRows, PS_TYPE_F32);
Note: See TracChangeset for help on using the changeset viewer.