public void Test_TwoEqualValues_DifferentSymbols_AreNotEqual() { var value1 = new CurrencyValue("£123.45"); var value2 = new CurrencyValue("$123.45"); Check.That(value1.Equals(value2)).IsFalse(); }
public void Test_TwoEqualValues_AreEqual() { var value1 = new CurrencyValue("£123.45"); var value2 = new CurrencyValue("123.45 £"); Check.That(value1.Equals(value2)).IsTrue(); }