Example #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));
 }
Example #2
0
 public void testSet() {
   assertEquals(bf_multi.set(0), 0x3F80);
   assertEquals(bf_single.set(0), 0x4000);
 }