Package org.jamesii.core.math.parsetree.math

Examples of org.jamesii.core.math.parsetree.math.MultNode.calc()


    assertTrue(resAbs.getValue().compareTo(2.) == 0);

    MultNode m =
        nf.createNode(MultNode.class, new ValueNode<>(-2), new ValueNode<>(3.));

    ValueNode<Double> resMult = m.calc(null);

    assertTrue(resMult.getValue().compareTo(-6.) == 0);
  }

}
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.