@Test public void testMinInt() throws IOException { InternalDataSerializer.writeVLOld(0x7fff + 1, createDOS()); assertEquals(0x7fff + 1, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMaxLong() throws IOException { InternalDataSerializer.writeVLOld(Long.MAX_VALUE, createDOS()); assertEquals(Long.MAX_VALUE, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMinLong() throws IOException { InternalDataSerializer.writeVLOld(0x7fffffffL + 1, createDOS()); assertEquals(0x7fffffffL + 1, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMaxShort() throws IOException { InternalDataSerializer.writeVLOld(0x7fff, createDOS()); assertEquals(0x7fff, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMaxInt() throws IOException { InternalDataSerializer.writeVLOld(0x7fffffff, createDOS()); assertEquals(0x7fffffff, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMinByte() throws IOException { InternalDataSerializer.writeVLOld(1, createDOS()); assertEquals(1, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMaxByte() throws IOException { InternalDataSerializer.writeVLOld(125, createDOS()); assertEquals(125, InternalDataSerializer.readVLOld(createDIS())); }
@Test public void testMinShort() throws IOException { InternalDataSerializer.writeVLOld(126, createDOS()); assertEquals(126, InternalDataSerializer.readVLOld(createDIS())); }