Changeset 965 for trunk/psLib/test/collections/tst_psBitSet_05.c
- Timestamp:
- Jun 9, 2004, 2:29:09 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/collections/tst_psBitSet_05.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psBitSet_05.c
r717 r965 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-0 5-18 19:22:34$12 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-06-10 00:28:36 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 28 28 // Test A - Create two psBitSets 29 29 printPositiveTestHeader(stdout,"psBitSet", "Create two psBitSets of different size"); 30 psBitSet* bs1 = psBitSetAlloc( 3);31 psBitSet* bs2 = psBitSetAlloc( 5);30 psBitSet* bs1 = psBitSetAlloc(24); 31 psBitSet* bs2 = psBitSetAlloc(40); 32 32 binOut = psBitSetToString(bs1); 33 33 printf("%s\n", binOut); … … 41 41 // Test B - Attempt OR with psBitsets, should get error 42 42 printNegativeTestHeader(stdout, "psBitSet", "Attempt OR with psBitsets", "psBitSet sizes not the same", 0); 43 psBitSet* outbs = psBitSetAlloc( 3);43 psBitSet* outbs = psBitSetAlloc(24); 44 44 outbs = psBitSetOp(outbs, bs1, "OR", bs2); 45 45 printFooter(stdout, "psBitSet", "Attempt OR with psBitsets", true);
Note:
See TracChangeset
for help on using the changeset viewer.
