Exemplo n.º 1
0
        [Test] public void StructInvestigate()
        {
            Random rnd = new Random(1);
            TestStructInvestigate source = new TestStructInvestigate(rnd);
            TestStructInvestigate target = source.DeepClone();

            Assert.AreNotSame(source, target);
            Assert.AreEqual(source, target);
        }
Exemplo n.º 2
0
		[Test] public void StructInvestigate()
		{
			Random rnd = new Random();
			TestStructInvestigate source = new TestStructInvestigate(rnd);
			TestStructInvestigate target = source.DeepClone();

			Assert.AreNotSame(source, target);
			Assert.AreEqual(source, target);
		}