[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); }
[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); }