public class TestEndianess extends ExecTest{
@Test
public void testLittleEndian(){
TopLevelAllocator a = new TopLevelAllocator(Long.MAX_VALUE);
ByteBuf b = a.buffer(4);
b.setInt(0, 35);
assertEquals((int) b.getByte(0), 35);
assertEquals((int) b.getByte(1), 0);
assertEquals((int) b.getByte(2), 0);
assertEquals((int) b.getByte(3), 0);