Package org.codemap.util

Examples of org.codemap.util.SparseTrueBooleanList


public class SparseTrueBooleanListTest {

  @Test
  public void testFalseFalseFalse() {
    SparseTrueBooleanList list = new SparseTrueBooleanList(false, false, false);
    assertEquals(3, list.size());
    assertEquals(false, list.get(0));
    assertEquals(false, list.get(1));
    assertEquals(false, list.get(2));
  }
View Full Code Here


    assertEquals(false, list.get(2));
  }
 
  @Test
  public void testTrueFalseTrue() {
    SparseTrueBooleanList list = new SparseTrueBooleanList(true, false, true);
    assertEquals(3, list.size());
    assertEquals(true, list.get(0));
    assertEquals(false, list.get(1));
    assertEquals(true, list.get(2));
  }
View Full Code Here

    assertEquals(true, list.get(2));
  }

  @Test
  public void testFalseTrueFalse() {
    SparseTrueBooleanList list = new SparseTrueBooleanList(false, true, false);
    assertEquals(3, list.size());
    assertEquals(false, list.get(0));
    assertEquals(true, list.get(1));
    assertEquals(false, list.get(2));
  }
View Full Code Here

TOP

Related Classes of org.codemap.util.SparseTrueBooleanList

Copyright © 2018 www.massapicom. 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.