Package org.boris.expr.function.excel

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


        assertEquals(eval(c, 8, 2), 28.);
        assertEquals(eval(c, 9, 7), 36.);
    }

    public void testCOS() throws Exception {
        COS c = new COS();
        TH.testDoubleInOutFunction(c);
        for (int i = 0; i < 100; i++) {
            double d = Math.random() * 1000 - Math.random() * 1000;
            assertEquals("COS not working", TH.eval(c, d), Math.cos(d));
        }
View Full Code Here

TOP

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

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.