IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11663


Ignore:
Timestamp:
Feb 5, 2007, 6:11:54 PM (19 years ago)
Author:
gusciora
Message:

This compiles now, but still doesn't run correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tap_psCoord01.c

    r11180 r11663  
    1212*      values were obtained, and they nearly all fail now.
    1313*
    14 *    @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    15 *    @date  $Date: 2007-01-19 20:42:21 $
    16 *    @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    17 *    @date  $Date: 2007-01-19 20:42:21 $
     14*    @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     15*    @date  $Date: 2007-02-06 04:11:54 $
     16*    @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     17*    @date  $Date: 2007-02-06 04:11:54 $
    1818*
    1919*    Copyright 2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    173173            myProjection->Ys = projectionTestPoint[i][5];
    174174
    175             psPlane *out = psProject(in, myProjection);
     175            psPlane *out = psProject(NULL, in, myProjection);
    176176            if(out == NULL) {
    177177                diag("psProject() returned NULL");
    178178                errorFlag = true;
    179179            } else {
    180                 inTest = psDeproject(out, myProjection);
     180                inTest = psDeproject(NULL, out, myProjection);
    181181                if(fabs(out->x - projectionTanExpected[i][0]) > ERROR_TOL) {
    182182                    diag("TEST ERROR: Testpoint %d  psPlane->x = %lg  expected %lg",
     
    230230
    231231            // Perform deprojection
    232             psSphere *out = psDeproject(in, myProjection);
     232            psSphere *out = psDeproject(NULL, in, myProjection);
    233233
    234234            // Verify output is not NULL
     
    278278
    279279            // Perform projection
    280             psPlane *out = psProject(in, myProjection);
     280            psPlane *out = psProject(NULL, in, myProjection);
    281281
    282282            // Verify output not NULL
     
    326326
    327327            // Perform deprojection
    328             psSphere *out = psDeproject(in, myProjection);
     328            psSphere *out = psDeproject(NULL, in, myProjection);
    329329
    330330            // Verify output is not NULL
     
    374374
    375375            // Perform projection
    376             psPlane *out = psProject(in, myProjection);
     376            psPlane *out = psProject(NULL, in, myProjection);
    377377
    378378            // Verify output not NULL
     
    422422
    423423            // Perform deprojection
    424             psSphere *out = psDeproject(in, myProjection);
     424            psSphere *out = psDeproject(NULL, in, myProjection);
    425425
    426426            // Verify output is not NULL
     
    470470
    471471            // Perform projection
    472             psPlane *out = psProject(in, myProjection);
     472            psPlane *out = psProject(NULL, in, myProjection);
    473473
    474474            // Verify output not NULL
     
    518518
    519519            // Perform deprojection
    520             psSphere *out = psDeproject(in, myProjection);
     520            psSphere *out = psDeproject(NULL, in, myProjection);
    521521
    522522            // Verify output is not NULL
     
    553553        psMemId id = psMemGetId();
    554554        psProjection *myProjection = psProjectionAlloc(0.0,0.0,1.0,1.0,PS_PROJ_TAN);
    555         psPlane *out = psProject(NULL, myProjection);
    556         ok(out == NULL, "psProject(NULL, xxx) returned NULL");
     555        psPlane *out = psProject(NULL, NULL, myProjection);
     556        ok(out == NULL, "psProject(NULL, NULL, xxx) returned NULL");
    557557        psFree(myProjection);
    558558        psFree(out);
     
    567567        psMemId id = psMemGetId();
    568568        psSphere *in = psSphereAlloc();
    569         psPlane *out = psProject(in, NULL);
    570         ok(out == NULL, "psProject(in, NULL) returned NULL");
     569        psPlane *out = psProject(NULL, in, NULL);
     570        ok(out == NULL, "psProject(NULL, in, NULL) returned NULL");
    571571        psFree(in);
    572572        psFree(out);
     
    583583        myProjection->type = PS_PROJ_NTYPE;
    584584        psSphere *in = psSphereAlloc();
    585         psPlane *out = psProject(in,myProjection);
    586         ok(out == NULL, "psProject(in, out) returned NULL with unallowed projection type");
     585        psPlane *out = psProject(NULL, in,myProjection);
     586        ok(out == NULL, "psProject(NULL, in, out) returned NULL with unallowed projection type");
    587587        psFree(myProjection);
    588588        psFree(in);
     
    601601    {
    602602        psProjection *myProjection = psProjectionAlloc(0.0,0.0,1.0,1.0,PS_PROJ_TAN);
    603         psSphere *out = psDeproject(NULL, myProjection);
    604         ok(out == NULL, "psDeproject(NULL, myProjection) returned NULL");
     603        psSphere *out = psDeproject(NULL, NULL, myProjection);
     604        ok(out == NULL, "psDeproject(NULL, NULL, myProjection) returned NULL");
    605605        psFree(myProjection);
    606606        psFree(out);
     
    614614        psMemId id = psMemGetId();
    615615        psPlane *in = psPlaneAlloc();
    616         psSphere *out = psDeproject(in, NULL);
    617         ok(out == NULL, "psDeproject(in, NULL) returned NULL");
     616        psSphere *out = psDeproject(NULL, in, NULL);
     617        ok(out == NULL, "psDeproject(NULL, in, NULL) returned NULL");
    618618        psFree(in);
    619619        psFree(out);
     
    629629        psPlane *in = psPlaneAlloc();
    630630        myProjection->type = PS_PROJ_NTYPE;
    631         psSphere *out = psDeproject(in,myProjection);
    632         ok(out == NULL, "psDeproject(in,myProjection) returned NULL with unallowed projection type");
     631        psSphere *out = psDeproject(NULL, in,myProjection);
     632        ok(out == NULL, "psDeproject(NULL, in,myProjection) returned NULL with unallowed projection type");
    633633        psFree(myProjection);
    634634        psFree(in);
Note: See TracChangeset for help on using the changeset viewer.