Package com.humaorie.dollar.ArrayWrapper

Examples of com.humaorie.dollar.ArrayWrapper.ShortArrayWrapper.toIntArray()


    @Test
    public void unboxShortArrayToIntArray() {
        final Short[] boxed = {42};
        final int[] unboxed = {42};
        final ShortArrayWrapper arrayWrapper = new ShortArrayWrapper(boxed);
        Assert.assertArrayEquals(unboxed, arrayWrapper.toIntArray());
    }

    @Test
    public void unboxShortArrayToLongArray() {
        final Short[] boxed = {42};
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.