Package org.jazzteam.SolveQuadraticEquation

Examples of org.jazzteam.SolveQuadraticEquation.SolveQuadraticEquation


public class SolveQuadraticEquationTest {

  @Test
  public void test() {
    SolveQuadraticEquation equation = new SolveQuadraticEquation(1, -5, 4);
    equation.solveEquation();
    assertTrue(equation.root1 == 4 || equation.root1 == 1);
    assertTrue(equation.root2 == 1 || equation.root2 == 4);
  }
View Full Code Here

TOP

Related Classes of org.jazzteam.SolveQuadraticEquation.SolveQuadraticEquation

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.