Package com.humaorie.dollar.ArrayWrapper

Examples of com.humaorie.dollar.ArrayWrapper.IntegerArrayWrapper.toFloatArray()


    public void unboxIntegerArrayToFloatArray() {
        final Integer[] boxed = { 42 };
        final float[] unboxed = { 42f };
        final IntegerArrayWrapper arrayWrapper = new IntegerArrayWrapper(
                boxed);
        Assert.assertArrayEquals(unboxed, arrayWrapper.toFloatArray(), 0.001f);
    }

    @Test
    public void unboxIntegerArrayToDoubleArray() {
        final Integer[] 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.