예제 #1
0
        public void GetArea_input3and6_expectedLengthEquals24()
        {
            //Arrange
            int       l             = 4;
            int       w             = 6;
            Rectclass testRectangle = new Rectclass(l, w);

            //Act
            int length = testRectangle.GetArea();

            //Assert
            Assert.AreEqual(l, length);
        }