public void SixFor3x2Rectangle() { var result = new Rectangle{_height =3,_width = 2}; Assert.AreEqual(6,AreaCalculator.CalculateArea(result)); }
public static int CalculateArea(Rectangle r) { return r._height * r._width; }