Example #1
0
 public void testSetShortBoolean() {
   assertEquals(bf_multi.setShort((short) 0), bf_multi.setShortBoolean((short) 0, true));
   assertEquals(bf_single.setShort((short) 0), bf_single.setShortBoolean((short) 0, true));
   assertEquals(bf_multi.clearShort((short) -1), bf_multi.setShortBoolean((short) -1, false));
   assertEquals(bf_single.clearShort((short) -1), bf_single.setShortBoolean((short) -1, false));
 }
Example #2
0
 public void testSetShort() {
   assertEquals(bf_multi.setShort((short) 0), (short) 0x3F80);
   assertEquals(bf_single.setShort((short) 0), (short) 0x4000);
 }