Beispiel #1
0
        public void TestofBoxSizePrintPass()
        {
            Size   s    = new BoxSize(1, 1, 1);
            string text = s.GetAsText();

            Assert.AreEqual("1x1x1 mm", text);
        }
Beispiel #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);
        }
Beispiel #3
0
        public void TestofBoxSizeIntArrayConstructorPass()
        {
            Size s = new BoxSize(new int[3] {
                1, 1, 1
            });
            string text = s.GetAsText();

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