Beispiel #1
0
 public void testSetBoolean() {
   assertEquals(bf_multi.set(0), bf_multi.setBoolean(0, true));
   assertEquals(bf_single.set(0), bf_single.setBoolean(0, true));
   assertEquals(bf_multi.clear(-1), bf_multi.setBoolean(-1, false));
   assertEquals(bf_single.clear(-1), bf_single.setBoolean(-1, false));
 }
Beispiel #2
0
 public void testClear() {
   assertEquals(bf_multi.clear(-1), 0xFFFFC07F);
   assertEquals(bf_single.clear(-1), 0xFFFFBFFF);
 }