@Test public void testPassBytes() { Pointer<Byte> out = allocateBytes(8); for (int value : intValues) { passVarArgs(out, true, (byte) value); assertEquals(value, out.getSizeT()); } }
@Test public void testPassBools() { Pointer<Byte> out = allocateBytes(8); for (boolean value : new boolean[] {true, false}) { passVarArgs(out, true, value); assertEquals(value, out.getSizeT() != 0); } }