예제 #1
0
        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);
        }