public void EqualsMethodObj_Test04() { Monetary currencya = 12.234m; object currencyb = "string"; Assert.That(!currencya.Equals(currencyb)); }
public void EqualsMethodDecimal_Test02() { Monetary currencya = 12.234m; const decimal currencyb = 12.234m; Assert.That(currencya.Equals(currencyb)); }
public void EqualsMethodObj_Test02() { Monetary currencya = 12.234m; object currencyb = 12.234m; Assert.That(currencya.Equals(currencyb)); }
public void EqualsMethod_Test01() { Monetary currencya = 12.234m; Monetary currencyb = 12.234m; Assert.That(currencya.Equals(currencyb)); }