public void TestofBoxSizePrintPass() { Size s = new BoxSize(1, 1, 1); string text = s.GetAsText(); Assert.AreEqual("1x1x1 mm", text); }
public void TestofBoxSizeObjectConstructorPass() { BoxSize bs = new BoxSize(1, 1, 1); Size s = new BoxSize(bs); string text = s.GetAsText(); Assert.AreEqual("1x1x1 mm", text); }
public void TestofBoxSizeIntArrayConstructorPass() { Size s = new BoxSize(new int[3] { 1, 1, 1 }); string text = s.GetAsText(); Assert.AreEqual("1x1x1 mm", text); }