Package com.humaorie.dollar.ArrayWrapper

Examples of com.humaorie.dollar.ArrayWrapper.FloatArrayWrapper.toDoubleArray()


    @Test
    public void unboxFloatArrayToDoubleArray() {
        final Float[] boxed = {42f};
        final double[] unboxed = {42};
        final FloatArrayWrapper arrayWrapper = new FloatArrayWrapper(boxed);
        Assert.assertArrayEquals(unboxed, arrayWrapper.toDoubleArray(), 0.1d);
    }

    @Test
    public void unboxFloatArrayWithNulls() {
        final Float[] boxed = {null};
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.