示例#1
0
 @Test
 public void testBitwiseAndIntegerInteger() {
   int expected = 1;
   int actual = cFunction.bitwiseAnd(5, 3);
   assertEquals(expected, actual);
 }
示例#2
0
 @Test
 public void testBitwiseAndIntegerLong() {
   long expected = 1L;
   long actual = cFunction.bitwiseAnd(5, 3L);
   assertEquals(expected, actual);
 }
示例#3
0
 @Test
 public void testBitwiseAnd() {
   int expected = 0;
   int actual = cFunction.bitwiseAnd(5, 2);
   assertEquals(expected, actual);
 }