public void Test_RoverState_Overrides() { const int x = 5, y = 5; const Utils.Orientation orientation = Utils.Orientation.South; var state1 = new RoverState(x, y, orientation); var state2 = new RoverState(x, y, orientation); Assert.IsTrue(state1 == state2); state2 = state1.Clone(); Assert.IsTrue(state1 == state2 && !Object.ReferenceEquals(state1, state2)); Assert.IsTrue(state1.ToString().Equals($"{x} {y} {Utils.GetDescription(orientation)}")); }