public void Equals_CompareEqualDecimalGeoCoordinates_ReturnsTrue() { // Arrange DecimalGeoCoordinate testCoordinate = new DecimalGeoCoordinate(1.50000001, 5.9); _sut = new DecimalGeoCoordinate(1.50000001, 5.9); // Act bool areEqual = _sut.Equals(testCoordinate); // Assert Assert.IsTrue(areEqual); }
public void Equals_CompareNonEqualDecimalGeoCoordinates_ReturnsFalse() { // Arrange DecimalGeoCoordinate testCoordinate = new DecimalGeoCoordinate(1.6, 15.0); _sut = new DecimalGeoCoordinate(11.2, 12.0); // Act bool areEqual = _sut.Equals(testCoordinate); // Assert Assert.IsFalse(areEqual); }