IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2527


Ignore:
Timestamp:
Nov 29, 2004, 3:16:43 PM (22 years ago)
Author:
harman
Message:

Updated print statements

Location:
trunk/psLib/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psMetadata_05.c

    r2429 r2527  
    2222*  @author  Ross Harman, MHPCC
    2323*
    24 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    25 *  @date  $Date: 2004-11-24 20:16:00 $
     24*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     25*  @date  $Date: 2004-11-30 01:16:43 $
    2626*
    2727*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    179179        printf("ERROR: Couldn't open file for reading\n");
    180180    }
    181     fscanf(fd, "S32 = %ld\n", &data);
     181    fscanf(fd, "S64 = %lld\n", &data);
    182182    if(data != 55) {
    183         printf("ERROR: Data in file is not as expected. Value: %ld. Should be: 55.\n", data);
    184     }
    185     fscanf(fd, "BOL = %ld\n", &data);
     183        printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 55.\n", data);
     184    }
     185    fscanf(fd, "BOL = %lld\n", &data);
    186186    if(data != 0) {
    187         printf("ERROR: Data in file is not as expected. Value: %ld. Should be: 0.\n", data);
     187        printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 0.\n", data);
    188188    }
    189189    fscanf(fd, "F32 = %g\n", &fpdata);
  • trunk/psLib/test/collections/tst_psMetadata_05.c

    r2429 r2527  
    2222*  @author  Ross Harman, MHPCC
    2323*
    24 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    25 *  @date  $Date: 2004-11-24 20:16:00 $
     24*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     25*  @date  $Date: 2004-11-30 01:16:43 $
    2626*
    2727*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    179179        printf("ERROR: Couldn't open file for reading\n");
    180180    }
    181     fscanf(fd, "S32 = %ld\n", &data);
     181    fscanf(fd, "S64 = %lld\n", &data);
    182182    if(data != 55) {
    183         printf("ERROR: Data in file is not as expected. Value: %ld. Should be: 55.\n", data);
    184     }
    185     fscanf(fd, "BOL = %ld\n", &data);
     183        printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 55.\n", data);
     184    }
     185    fscanf(fd, "BOL = %lld\n", &data);
    186186    if(data != 0) {
    187         printf("ERROR: Data in file is not as expected. Value: %ld. Should be: 0.\n", data);
     187        printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 0.\n", data);
    188188    }
    189189    fscanf(fd, "F32 = %g\n", &fpdata);
Note: See TracChangeset for help on using the changeset viewer.