public void MazeCoordinate_EqualsReturnsFalse_WhenComparedWithDiffObject() { var foo = new MazeCoordinate(1337, 42); var bar = new MazeCoordinate(1336, 42); Assert.False(foo.Equals(bar)); Assert.False(bar.Equals(foo)); }
public void MazeCoordinate_EqualsReturnsTrue_WhenComparedWithEqualObject() { var foo = new MazeCoordinate(1337, 42); var bar = new MazeCoordinate(1337, 42); Assert.True(foo.Equals(bar)); Assert.True(bar.Equals(foo)); }