Ejemplo n.º 1
0
        public void RectangularPanVolume2()
        {
            var        rect   = new RectangularPan(8, 11, 2);
            IGetVolume getVol = (IGetVolume)rect;
            var        actual = getVol.GetVolume();

            Assert.AreEqual(176, actual);
        }
Ejemplo n.º 2
0
        public void RectangularPanVolume()
        {
            var        rect   = new RectangularPan(9, 13, 2);
            IGetVolume getVol = (IGetVolume)rect;
            var        actual = getVol.GetVolume();

            Assert.AreEqual(234, actual);
        }