Beispiel #1
0
        public void VierTwoXTwoVierkant()
        {
            var mVierk = new Vierkant()
            {
                Width = 2, Height = 2
            };

            Assert.AreEqual(4, AreaCalculator.CalculateObject(mVierk));
        }
Beispiel #2
0
        public void TwentyForFourXFiveRechthoekVanVierkant()
        {
            Rechthoek mVierk = new Vierkant()
            {
                Width = 2, Height = 3
            };

            Assert.AreEqual(6, AreaCalculator.CalculateObject(mVierk));
        }
Beispiel #3
0
        public void ZesTwoXThreeRectangle()
        {
            var mRect = new Rechthoek()
            {
                Width = 2, Height = 3
            };

            Assert.AreEqual(6, AreaCalculator.CalculateObject(mRect));
        }