IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3569


Ignore:
Timestamp:
Mar 30, 2005, 1:22:39 PM (21 years ago)
Author:
desonia
Message:

updated tests.

Location:
trunk/psLib/test
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/Makefile.am

    r3542 r3569  
    107107        cp $? $@
    108108
    109        
     109
  • trunk/psLib/test/astronomy/tst_psAstrometry01.c

    r3559 r3569  
    55*  @author GLG, MHPCC
    66*
    7 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2005-03-30 02:21:53 $
     7*  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2005-03-30 23:22:39 $
    99*
    1010* XXX: Must test
     
    387387    printf("grom->refractB is %f\n", grom->refractB);
    388388    printf("grom->longitudeOffset is %f\n", grom->longitudeOffset);
    389     printf("grom->siderealTime is %f\n", grom->siderealTime);
     389    // printf("grom->siderealTime is %f\n", grom->siderealTime);
    390390
    391391    psFree(now);
  • trunk/psLib/test/astronomy/tst_psDB.c

    r3566 r3569  
    99 *  @author Aaron Culliney, MHPCC
    1010 *
    11  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-30 23:04:57 $
     11 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-30 23:22:39 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    493493
    494494                item = psMetadataLookup(row, "key_s32");
    495                 if ((item == NULL) || (item->data.S32 != S32_1)) {
    496                     psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output!\n" );
     495                if (item == NULL) {
     496                    psLogMsg( __func__, PS_LOG_INFO, "oops, key_s32 not found!\n" );
     497                    failed = 1;
     498                } else if (item->data.S32 != S32_1) {
     499                    psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output (%d vs %d)!\n",
     500                              item->data.S32,S32_1);
    497501                    failed = 1;
    498502                } else {
  • trunk/psLib/test/dataIO/tst_psDB.c

    r3566 r3569  
    99 *  @author Aaron Culliney, MHPCC
    1010 *
    11  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-30 23:04:57 $
     11 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-30 23:22:39 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    493493
    494494                item = psMetadataLookup(row, "key_s32");
    495                 if ((item == NULL) || (item->data.S32 != S32_1)) {
    496                     psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output!\n" );
     495                if (item == NULL) {
     496                    psLogMsg( __func__, PS_LOG_INFO, "oops, key_s32 not found!\n" );
     497                    failed = 1;
     498                } else if (item->data.S32 != S32_1) {
     499                    psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output (%d vs %d)!\n",
     500                              item->data.S32,S32_1);
    497501                    failed = 1;
    498502                } else {
  • trunk/psLib/test/fileUtils/tst_psDB.c

    r3566 r3569  
    99 *  @author Aaron Culliney, MHPCC
    1010 *
    11  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-30 23:04:57 $
     11 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-30 23:22:39 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    493493
    494494                item = psMetadataLookup(row, "key_s32");
    495                 if ((item == NULL) || (item->data.S32 != S32_1)) {
    496                     psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output!\n" );
     495                if (item == NULL) {
     496                    psLogMsg( __func__, PS_LOG_INFO, "oops, key_s32 not found!\n" );
     497                    failed = 1;
     498                } else if (item->data.S32 != S32_1) {
     499                    psLogMsg( __func__, PS_LOG_INFO, "oops, did not find expected output (%d vs %d)!\n",
     500                              item->data.S32,S32_1);
    497501                    failed = 1;
    498502                } else {
Note: See TracChangeset for help on using the changeset viewer.