public void RectangularPanVolume2() { var rect = new RectangularPan(8, 11, 2); IGetVolume getVol = (IGetVolume)rect; var actual = getVol.GetVolume(); Assert.AreEqual(176, actual); }
public void RectangularPanVolume() { var rect = new RectangularPan(9, 13, 2); IGetVolume getVol = (IGetVolume)rect; var actual = getVol.GetVolume(); Assert.AreEqual(234, actual); }
public void SquarePanVolume2() { var square = new SquarePan(6, 4); IGetVolume getVol = (IGetVolume)square; var actual = getVol.GetVolume(); Assert.AreEqual(144, actual); }
public void SqaurePanVolume() { var square = new SquarePan(8, 2); IGetVolume getVol = (IGetVolume)square; var actual = getVol.GetVolume(); Assert.AreEqual(128, actual); }
public void RoundPanVolume2() { var round = new RoundPan(12, 4); IGetVolume getVol = (IGetVolume)round; var actual = getVol.GetVolume(); Assert.AreEqual(452, actual); }
public void RoundPanVolume() { var round = new RoundPan(8, 2); IGetVolume getVol = (IGetVolume)round; var actual = getVol.GetVolume(); Assert.AreEqual(100, actual); }