Ejemplo n.º 1
0
        public void setParameterTest()
        {
            var r = new _3DRectangle();
            int x = 200, y = 200, width = 100, height = 100;

            r.set(x, y, height, width);
            Assert.AreEqual(200, r.x);
        }
Ejemplo n.º 2
0
        public void _3DRectangleTest()
        {
            var dr = new _3DRectangle();
            int x = 200, y = 200, width = 100, height = 100;

            dr.set(x, y, height, width);
            Assert.AreEqual(200, dr.x);
        }