IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 25, 2005, 9:55:01 AM (21 years ago)
Author:
evanalst
Message:

Update location of data files for test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataIO/tst_psLookupTable_01.c

    r3284 r3330  
    1212*  @author  Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
    15 *  @date  $Date: 2005-02-18 19:46:40 $
     14*  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
     15*  @date  $Date: 2005-02-25 19:55:01 $
    1616*
    1717*  Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii
     
    168168
    169169    // Allocate lookup table with valid parameters
    170     table1 = psLookupTableAlloc("tableF32.dat", tableF32_validFrom, tableF32_validTo);
     170    table1 = psLookupTableAlloc("verified/tableF32.dat", tableF32_validFrom, tableF32_validTo);
    171171    if(table1 == NULL) {
    172172        psError(PS_ERR_UNKNOWN,true,"Null lookup table generated from valid parameters");
    173173        return 1;
    174174    }
    175     if(strcmp(table1->fileName,"tableF32.dat") != 0) {
     175    if(strcmp(table1->fileName,"verified/tableF32.dat") != 0) {
    176176        psError(PS_ERR_UNKNOWN,true,"File name not properly stored in psLookupTable structure.");
    177177        return 2;
     
    201201
    202202    // Allocate table using table with psU8 index and valid types and index-values
    203     table1 = psLookupTableAlloc("tableU8.dat", 0, 100.5);
     203    table1 = psLookupTableAlloc("verified/tableU8.dat", 0, 100.5);
    204204    if(table1 == NULL) {
    205205        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with tableU8.dat");
     
    274274
    275275    // Allocate table using table with psS32 index and valid types and index-values
    276     table1 = psLookupTableAlloc("tableS32.dat", -110, 1000.5);
     276    table1 = psLookupTableAlloc("verified/tableS32.dat", -110, 1000.5);
    277277    if(table1 == NULL) {
    278278        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with tableS32.dat");
     
    299299
    300300    // Allocate table using table with psF32 index and valid types and index-values
    301     table1 = psLookupTableAlloc("tableF32.dat", -1100, 5500.5);
     301    table1 = psLookupTableAlloc("verified/tableF32.dat", -1100, 5500.5);
    302302    if(table1 == NULL) {
    303303        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with tableF32.dat");
     
    325325    // Allocate table using psU8 index but with unsorted rows and verify the list is
    326326    // sorted properly after being read
    327     table1 = psLookupTableAlloc("table10.dat",1,2);
     327    table1 = psLookupTableAlloc("verified/table10.dat",1,2);
    328328    if(table1 == NULL) {
    329329        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with table10.dat");
     
    397397
    398398    // Allocate table using table with invalid type in type row but valid index-values
    399     table1 = psLookupTableAlloc("table2.dat",0,99.99);
     399    table1 = psLookupTableAlloc("verified/table2.dat",0,99.99);
    400400    if(table1 == NULL) {
    401401        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with table2.dat");
     
    411411
    412412    // Allocate table using table with invalid value
    413     table1 = psLookupTableAlloc("table3.dat",0,75.0);
     413    table1 = psLookupTableAlloc("verified/table3.dat",0,75.0);
    414414    if(table1 == NULL) {
    415415        psError(PS_ERR_UNKNOWN,true,"Unable to allocate table with table3.dat");
     
    464464
    465465    // Interpolate values within the list and verify return values
    466     table1 = psLookupTableAlloc("table10.dat",0,20);
     466    table1 = psLookupTableAlloc("verified/table10.dat",0,20);
    467467    table1 = psLookupTableRead(table1);
    468468    for(psS32 i = 0; i < table1->numRows-1; i++ ) {
     
    547547
    548548    // Interpolate values within the list and verify return values
    549     table1 = psLookupTableAlloc("table10.dat",0,20);
     549    table1 = psLookupTableAlloc("verified/table10.dat",0,20);
    550550    table1 = psLookupTableRead(table1);
    551551    statusVector = psVectorAlloc(table1->numCols,PS_TYPE_U32);
Note: See TracChangeset for help on using the changeset viewer.