public void SetWidth_input6_expectedWidthEquals6() { //Arrange int l = 4; int w = 6; Rectclass testRectangle = new Rectclass(l, w); //Act int width = testRectangle.SetWidth(w); //Assert Assert.AreEqual(w, width); }
public void SetWidth_input6_expectedWidthEquals6() { //Arrange int l = 4; int w = 6; Rectclass testRectangle = new Rectclass(l, w); //Act int width = testRectangle.SetWidth(w); //Assert Assert.AreEqual(w, width); }