Package krati.io.serializer

Examples of krati.io.serializer.ShortSerializer.shortValue()


    public void testCustomApi() {
        ShortSerializer serializer = createSerializer();
       
        short val = 0;
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = minValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = maxValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = anyValue();
View Full Code Here


        ShortSerializer serializer = createSerializer();
       
        short val = 0;
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = minValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = maxValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = anyValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
    }
View Full Code Here

        short val = 0;
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = minValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = maxValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = anyValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
    }
}
View Full Code Here

        val = minValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = maxValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
        val = anyValue();
        assertEquals(val, serializer.shortValue(serializer.shortBytes(val)));
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.