public void Rect8x12() { var vol = new RectangularPanVolume(); var length = 12; var width = 8; var depth = 2; var volume = vol.CalculateVolumeRectangularPan(length, width, depth); Assert.AreEqual(192, Math.Round((double)volume)); }
public void Rect13x9() { var vol = new RectangularPanVolume(); var length = 13; var width = 9; var depth = 2; var volume = vol.CalculateVolumeRectangularPan(length, width, depth); Assert.AreEqual(234, volume); }