public void Equals_Structurally() { var one = new ExchangeRateAt(DateTime.Today, EUR, USD, 1.25m); var other = new ExchangeRateAt(DateTime.Today, EUR, USD, 1.25m); one.Equals(other).Should().BeTrue(); }
public void Equals_Null_Does_Not_Throw() { var one = new ExchangeRateAt(DateTime.Today, EUR, USD, 1.25m); one.Equals(null).Should().BeFalse(); }