public void NoSolutionFail() { QuadEquation quad = new QuadEquation(); double a = 10; double b = 3; double c = 10; double sqrt = 0; Assert.AreEqual(false, quad.NoSolution(a, b, c, out sqrt)); }
public void NoSolutionPass() { QuadEquation quad = new QuadEquation(); double a = 3; double b = 10; double c = 3; double sqrt = 0; Assert.AreEqual(true, quad.NoSolution(a, b, c, out sqrt)); }