Changeset 584 for trunk/psLib/test/sysUtils/tst_psHash00.c
- Timestamp:
- May 5, 2004, 2:20:50 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psHash00.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psHash00.c
r560 r584 7 7 #include "psHash.h" 8 8 #define NUM_HASH_TABLE_BUCKETS 10 9 main()9 int main() 10 10 { 11 11 psHash *myHashTable = NULL; … … 26 26 if (myHashTable->nbucket != NUM_HASH_TABLE_BUCKETS) { 27 27 fprintf(stderr, "%s: myHashTable->nbucket not set properly.\n", 28 __func__ , i);28 __func__); 29 29 testStatus = false; 30 30 … … 33 33 if (myHashTable->buckets == NULL) { 34 34 fprintf(stderr, "%s: myHashTable->buckets is NULL.\n", 35 __func__ , i);35 __func__); 36 36 testStatus = false; 37 37 … … 51 51 testStatus); 52 52 53 exit(!testStatus);53 return (!testStatus); 54 54 }
Note:
See TracChangeset
for help on using the changeset viewer.
