public void GetVolumeForBox() { var dim = Dimension.Box(1, 2, 1); Assert.AreEqual(2, dim.AutoVolume); Assert.AreEqual(2, dim.Volume); }
public void SetVolume() { var dim = Dimension.Box(1, 1, 1); dim.Volume = 4; Assert.AreEqual(4, dim.Volume); Assert.AreEqual(1, dim.AutoVolume); }