示例#1
0
        public virtual void TestCloneIsDeepClone()
        {
            TreeFilter a = new AlwaysCloneTreeFilter();

            NUnit.Framework.Assert.AreNotSame(a, a.Clone());
            TreeFilter n = NotTreeFilter.Create(a);

            NUnit.Framework.Assert.AreNotSame(n, n.Clone());
        }
示例#2
0
		public virtual void TestCloneIsDeepClone()
		{
			TreeFilter a = new AlwaysCloneTreeFilter();
			NUnit.Framework.Assert.AreNotSame(a, a.Clone());
			TreeFilter n = NotTreeFilter.Create(a);
			NUnit.Framework.Assert.AreNotSame(n, n.Clone());
		}