Package org.boris.expr.function.excel

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


import org.boris.expr.function.excel.TRUNC;

public class ExcelMathAndTrigFunctionsTest extends TH
{
    public void testABS() throws Exception {
        ABS a = new ABS();
        for (int i = 0; i < 100; i++) {
            double d = Math.random() * 1000 - Math.random() * 1000;
            assertEquals("ABS not working", TH.eval(a, d), Math.abs(d));
        }
    }
View Full Code Here

TOP

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

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.