Exemplo n.º 1
0
        public void TwentyFor4X5ShapeFromRectangle()
        {
            var sut = new TellDontAsk.Rectangle {
                Height = 4, Width = 5
            };

            Assert.Equal(20, sut.Area());
        }
Exemplo n.º 2
0
        public void SixFor2X3Rectangle()
        {
            var sut = new TellDontAsk.Rectangle {
                Height = 2, Width = 3
            };

            Assert.Equal(6, sut.Area());
        }