Changeset 2527
- Timestamp:
- Nov 29, 2004, 3:16:43 PM (22 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 2 edited
-
astronomy/tst_psMetadata_05.c (modified) (2 diffs)
-
collections/tst_psMetadata_05.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r2429 r2527 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.1 1$ $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 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 179 179 printf("ERROR: Couldn't open file for reading\n"); 180 180 } 181 fscanf(fd, "S 32 = %ld\n", &data);181 fscanf(fd, "S64 = %lld\n", &data); 182 182 if(data != 55) { 183 printf("ERROR: Data in file is not as expected. Value: %l d. Should be: 55.\n", data);184 } 185 fscanf(fd, "BOL = %l d\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); 186 186 if(data != 0) { 187 printf("ERROR: Data in file is not as expected. Value: %l d. Should be: 0.\n", data);187 printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 0.\n", data); 188 188 } 189 189 fscanf(fd, "F32 = %g\n", &fpdata); -
trunk/psLib/test/collections/tst_psMetadata_05.c
r2429 r2527 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.1 1$ $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 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 179 179 printf("ERROR: Couldn't open file for reading\n"); 180 180 } 181 fscanf(fd, "S 32 = %ld\n", &data);181 fscanf(fd, "S64 = %lld\n", &data); 182 182 if(data != 55) { 183 printf("ERROR: Data in file is not as expected. Value: %l d. Should be: 55.\n", data);184 } 185 fscanf(fd, "BOL = %l d\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); 186 186 if(data != 0) { 187 printf("ERROR: Data in file is not as expected. Value: %l d. Should be: 0.\n", data);187 printf("ERROR: Data in file is not as expected. Value: %lld. Should be: 0.\n", data); 188 188 } 189 189 fscanf(fd, "F32 = %g\n", &fpdata);
Note:
See TracChangeset
for help on using the changeset viewer.
