FileDocCategorySizeDatePackage
BitSetTest.javaAPI DocAndroid 1.5 API2784Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.tests.java.util

BitSetTest

public class BitSetTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
public voidtest_clearII()

tests
java.util.BitSet#clear(int, int)

        // Regression for HARMONY-98
        BitSet bitset = new BitSet();
        for (int i = 0; i < 20; i++) {
            bitset.set(i);
        }
        bitset.clear(10, 10);
    
public voidtest_flipII()

tests
java.util.BitSet#flip(int, int)

        BitSet bitset = new BitSet();
        for (int i = 0; i < 20; i++) {
            bitset.set(i);
        }
        bitset.flip(10, 10);
    
public voidtest_getII()

tests
java.util.BitSet#get(int, int)

        BitSet bitset = new BitSet(30);
        bitset.get(3, 3);
    
public voidtest_setII()

tests
java.util.BitSet#set(int, int)

        BitSet bitset = new BitSet(30);
        bitset.set(29, 29);