Changeset 3056 for trunk/psLib/test/fileUtils
- Timestamp:
- Jan 18, 2005, 3:53:00 PM (22 years ago)
- Location:
- trunk/psLib/test/fileUtils
- Files:
-
- 2 edited
-
Makefile (modified) (3 diffs)
-
tst_psLookupTable_01.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/fileUtils/Makefile
r2962 r3056 3 3 ## Makefile: test/fileUtils 4 4 ## 5 ## $Revision: 1. 2$ $Name: not supported by cvs2svn $6 ## $Date: 2005-01-1 2 22:17:02$5 ## $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2005-01-19 01:53:00 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 16 include ../../src/Makefile.Globals 17 17 18 CFLAGS := -I../../include $(CFLAGS)18 CFLAGS := -I../../include -DUTC_DAT_FILE="\"$(prefix)/data/tai_utc.dat\"" $(CFLAGS) 19 19 LDFLAGS := -L../../lib -lpslib -lpstest $(LDFLAGS) 20 20 … … 34 34 35 35 install: $(testbindir) $(testbindir)/verified $(TARGET) 36 install $(TARGET) $(testbindir) 36 37 install verified/*.stderr verified/*.stdout $(testbindir)/verified 37 38 -
trunk/psLib/test/fileUtils/tst_psLookupTable_01.c
r2808 r3056 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-12-23 19:38:38$14 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-19 01:53:00 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 psLookupTable* table1 = NULL; 37 37 38 table1 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);38 table1 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 39 39 table1 = psLookupTableRead(table1); 40 40 out1 = psLookupTableInterpolate(table1, index1, 0, &status1); … … 56 56 psF64 truthData2[] = {31.5, 41317, 0}; 57 57 58 table2 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);58 table2 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 59 59 table2 = psLookupTableRead(table2); 60 60 stats2 = psVectorAlloc(table2->numCols, PS_TYPE_U32); … … 78 78 psLookupTable* table3 = NULL; 79 79 80 table3 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);80 table3 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 81 81 table3 = psLookupTableRead(table3); 82 82 out3 = psLookupTableInterpolate(table3, index3, 0, &status3); … … 93 93 psLookupTable* table4 = NULL; 94 94 95 table4 = psLookupTableAlloc( "../../data/tai_utc.dat", 0, 2451179.6);95 table4 = psLookupTableAlloc(UTC_DAT_FILE, 0, 2451179.6); 96 96 table4 = psLookupTableRead(table4); 97 97 out4 = psLookupTableInterpolate(table4, index4, 0, &status4);
Note:
See TracChangeset
for help on using the changeset viewer.
