BoardTests ChangingOriginalAfterCloningDoesntAffectClone Method Delta Engine Documentation

Namespace: Drench.Tests
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ChangingOriginalAfterCloningDoesntAffectClone()
Examples

[Test]
public void ChangingOriginalAfterCloningDoesntAffectClone()
{
    Board clone = board.Clone();
    board.SetColor(0, 0, Color.Red);
    Assert.AreNotEqual(Color.Red, clone.GetColor(0, 0));
}
See Also