public void CirAreaTest2() { CircleArea circle = new CircleArea(); double x = 2; double expectedValue = 3.1415926535897931d; double actualValue = circle.CirArea(x); Assert.AreNotEqual(expectedValue, actualValue); }
public Form1() { InitializeComponent(); Rectangle = new RectangleArea(); Triangle = new TriangleArea(); Circle = new CircleArea(); Quadratic = new CalcQuadratic(); Polynomial = new CalcPolynomial(); }