Esempio n. 1
0
        public void Clone()
        {
            var o = new GeometricObject(new BoxShape(1, 2, 3), new Pose(new Vector3F(1, 2, 3)));
              var clone = o.Clone();

              Assert.AreEqual(o.Pose, clone.Pose);
              Assert.AreEqual(((BoxShape)o.Shape).Extent, ((BoxShape)clone.Shape).Extent);
        }
Esempio n. 2
0
        public void Clone()
        {
            var o     = new GeometricObject(new BoxShape(1, 2, 3), new Pose(new Vector3(1, 2, 3)));
            var clone = o.Clone();

            Assert.AreEqual(o.Pose, clone.Pose);
            Assert.AreEqual(((BoxShape)o.Shape).Extent, ((BoxShape)clone.Shape).Extent);
        }