public void ComputeAreaTest1() { double expected = 0; circle input = new circle(); input.Radius = 0; double actual = ShapeHelper.ComputeArea(input); Assert.AreEqual(expected, actual); }
public void ComputeAreaTest() { double expected = 20; Rectangle input = new Rectangle(); input.Width = 5; input.Heigt = 4; double actual = ShapeHelper.ComputeArea(input); Assert.AreEqual(expected, actual); }