public void Given3() { double except = 25 * Math.PI; Circle input = new Circle(); input.half = 5; double operation = ShaperHelper.ComputerArea1(input); Assert.AreEqual(except, operation); }
public void Given1() { int except = 50; Rectangle input = new Rectangle(); input.width = 5; input.height = 10; double operation = ShaperHelper.ComputerArea1(input); Assert.AreEqual(except, operation); }