IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2004, 2:29:09 PM (22 years ago)
Author:
harman
Message:

Added more error checks

File:
1 edited

Legend:

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

    r957 r965  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    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 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030    // Test A - Create two psBitSets
    3131    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);
    3434    binOut = psBitSetToString(bs1);
    3535    printf("%s\n", binOut);
     
    4444    printNegativeTestHeader(stdout,"psBitSet", "Perform invalid binary operation",
    4545                            "Invalid psBitMask binary operation", 0);
    46     psBitSet* outbs = psBitSetAlloc(3);
     46    psBitSet* outbs = psBitSetAlloc(24);
    4747    outbs = psBitSetOp(outbs, bs1, "ZZXOR", bs2);
    4848    printFooter(stdout, "psBitSet", "Perform binary XOR with psBitSets", true);
Note: See TracChangeset for help on using the changeset viewer.