public void ShouldClone() { BoardPosition position = new BoardPosition(); BoardPosition position2 = position.Clone(); Assert.IsNotNull(position2); Assert.AreNotEqual(position, position2); Assert.AreEqual(position.Color, position2.Color); for (int pos = 0; pos < BoardPosition.Size; pos++) { Assert.AreEqual(position.GetColors(pos), position2.GetColors(pos)); } }