public void EqualsTest() { var temp = new SurfaceLib.Types.Point2D(2.0, 3.2); var actual = this._point.Equals(temp); Assert.IsFalse(actual); }
public void OperatorEqualTest() { var firstPoint = new SurfaceLib.Types.Point2D(2.3, 1.5); var secondPoint = new SurfaceLib.Types.Point2D(2.3, 1.5); var actual = firstPoint == secondPoint; Assert.IsTrue(actual); }
public void OperatorNotEqualTest() { var firstPoint = new SurfaceLib.Types.Point2D(2.6, 1.3); var secondPoint = new SurfaceLib.Types.Point2D(0.4, 1.4); var actual = firstPoint != secondPoint; Assert.IsTrue(actual); }
public void Initialize() { this._point = new SurfaceLib.Types.Point2D(4, 3.1); }