Package org.boris.expr.function.excel

Examples of org.boris.expr.function.excel.CHOOSE


        assertResult("AREAS((B2:D4,E5,F6:I9))", 3.);
        assertResult("AREAS(B2:D4 B2)", 1.);
    }

    public void testCHOOSE() throws Exception {
        CHOOSE c = new CHOOSE();
        assertEquals(eval(c, 1, 3, 4), 3);
        assertEquals(eval(c, 2, 3, "hello"), "hello");
        assertEquals(eval(c, true, 35), 35);
        assertException(c, 1.2);
        assertException(c, 1);
View Full Code Here

TOP

Related Classes of org.boris.expr.function.excel.CHOOSE

Copyright © 2018 www.massapicom. 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.