Package

Source Code of BitArrayTest

import junit.framework.TestCase;
import dijjer.util.BitArray;

public class BitArrayTest extends TestCase {

  public static final String VERSION = "$Id: BitArrayTest.java,v 1.5 2005/04/12 13:04:15 sanity Exp $";

  public void testBitArray() {
    BitArray ba = new BitArray(100);
    for (int x = 5; x < 100; x++) {
      ba.setBit(x, true);
    }
    System.out.println(ba);
  }

}
TOP

Related Classes of BitArrayTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.