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