public void UnknownShape_15_12() { //arrange double a = 15; double b = 12; //act UnknownFigure shape = new UnknownFigure(); double actual = shape.AreaObject(a, b); }
public void UnknownShape_15_707returned() { //arrange double a = 15; double expected = 707; //act UnknownFigure shape = new UnknownFigure(); double actual = shape.AreaObject(a); //assert Assert.AreEqual(expected, Math.Round(actual)); }
public void UnknownShape_3_4_5_6returned() { //arrange double a = 3; double b = 4; double c = 5; double expected = 6; //act UnknownFigure shape = new UnknownFigure(); double actual = shape.AreaObject(a, b, c); //assert Assert.AreEqual(expected, Math.Round(actual)); }