Changeset 965 for trunk/psLib/test/collections/tst_psBitSet_06.c
- Timestamp:
- Jun 9, 2004, 2:29:09 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/collections/tst_psBitSet_06.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psBitSet_06.c
r957 r965 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-06- 09 21:29:56$14 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-06-10 00:28:43 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 // Test A - Create two psBitSets 31 31 printPositiveTestHeader(stdout,"psBitSet", "Create two psBitSets"); 32 psBitSet* bs1 = psBitSetAlloc( 3);33 psBitSet* bs2 = psBitSetAlloc( 3);32 psBitSet* bs1 = psBitSetAlloc(24); 33 psBitSet* bs2 = psBitSetAlloc(24); 34 34 binOut = psBitSetToString(bs1); 35 35 printf("%s\n", binOut); … … 44 44 printNegativeTestHeader(stdout,"psBitSet", "Perform invalid binary operation", 45 45 "Invalid psBitMask binary operation", 0); 46 psBitSet* outbs = psBitSetAlloc( 3);46 psBitSet* outbs = psBitSetAlloc(24); 47 47 outbs = psBitSetOp(outbs, bs1, "ZZXOR", bs2); 48 48 printFooter(stdout, "psBitSet", "Perform binary XOR with psBitSets", true);
Note:
See TracChangeset
for help on using the changeset viewer.
