IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2005, 5:04:35 PM (21 years ago)
Author:
drobbin
Message:

made changes based on revisions in psLib SDRS rev. 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psArray.c

    r4308 r4457  
    1717 *  @author  Ross Harman, MHPCC
    1818 *
    19  *  @version $Revision: 1.14 $  $Name: not supported by cvs2svn $
    20  *  @date  $Date: 2005-06-17 23:44:22 $
     19 *  @version $Revision: 1.15 $  $Name: not supported by cvs2svn $
     20 *  @date  $Date: 2005-07-06 03:04:35 $
    2121 *
    2222 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    103103        }
    104104    }
    105     fprintf(stderr,"array size = %d\n", psArr->nalloc);
     105    fprintf(stderr,"array size = %ld\n", psArr->nalloc);
    106106    if (psArr->nalloc != 5) {
    107107        psError(PS_ERR_UNKNOWN, true,"Array Size wrong");
    108108        return 3;
    109109    }
    110     fprintf(stderr,"array population = %d\n", psArr->n);
     110    fprintf(stderr,"array population = %ld\n", psArr->n);
    111111    if (psArr->n != 5) {
    112112        psError(PS_ERR_UNKNOWN, true,"Array population wrong");
     
    137137        }
    138138    }
    139     fprintf(stderr,"array size = %d\n", psArr->nalloc);
     139    fprintf(stderr,"array size = %ld\n", psArr->nalloc);
    140140    if (psArr->nalloc != 10) {
    141141        psError(PS_ERR_UNKNOWN, true,"Array Size wrong");
    142142        return 6;
    143143    }
    144     fprintf(stderr,"array population = %d\n", psArr->n);
     144    fprintf(stderr,"array population = %ld\n", psArr->n);
    145145    if (psArr->n != 10) {
    146146        psError(PS_ERR_UNKNOWN, true,"Array Population wrong");
     
    160160        }
    161161    }
    162     fprintf(stderr,"array size = %d\n", psArr->nalloc);
     162    fprintf(stderr,"array size = %ld\n", psArr->nalloc);
    163163    if (psArr->nalloc != 3) {
    164164        psError(PS_ERR_UNKNOWN, true,"Array Size wrong");
    165165        return 9;
    166166    }
    167     fprintf(stderr,"array population = %d\n", psArr->n);
     167    fprintf(stderr,"array population = %ld\n", psArr->n);
    168168    if (psArr->n != 3) {
    169169        psError(PS_ERR_UNKNOWN, true,"Array Population wrong");
     
    189189        return 100;
    190190    }
    191     fprintf(stderr,"Array size after removal = %d\n",psArr->n);
     191    fprintf(stderr,"Array size after removal = %ld\n",psArr->n);
    192192    if ( psArr->n != 2 ) {
    193193        psError(PS_ERR_UNKNOWN, true, "Items in array not decremented after removal");
     
    274274        }
    275275    }
    276     fprintf(stderr,"array size = %d\n", psArr->nalloc);
     276    fprintf(stderr,"array size = %ld\n", psArr->nalloc);
    277277    if (psArr->nalloc != 10) {
    278278        psError(PS_ERR_UNKNOWN, true,"Array Size wrong");
    279279        return 3;
    280280    }
    281     fprintf(stderr,"array population = %d\n", psArr->n);
     281    fprintf(stderr,"array population = %ld\n", psArr->n);
    282282    if (psArr->n != 10) {
    283283        psError(PS_ERR_UNKNOWN, true,"Array population wrong");
Note: See TracChangeset for help on using the changeset viewer.