예제 #1
0
        public void TestofBoxSizePrintPass()
        {
            Size   s    = new BoxSize(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 TestofBoxSizeIntArrayConstructorPass()
        {
            Size s = new BoxSize(new int[3] {
                1, 1, 1
            });
            string text = s.GetAsText();

            Assert.AreEqual("1x1x1 mm", text);
        }
예제 #4
0
 public void TestofBoxSizePrintPass()
 {
     Size s = new BoxSize(1, 1, 1);
     string text = s.GetAsText();
     Assert.AreEqual("1x1x1 mm", text);
 }