Ejemplo n.º 1
0
        public void Line_translate_returnsVal()
        {
            ILine3 line   = new Line3(1, 1, 1, 2, 2, 2);
            ILine3 ltrans = line.Translate(new Vector3(1, 1, 1));

            Assert.AreEqual(2, ltrans.Point1.X, "x1");
            Assert.AreEqual(2, ltrans.Point1.Y, "y1");
            Assert.AreEqual(2, ltrans.Point1.Z, "z1");
        }