public void MoneyBagHash() { MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD")); Assert.AreEqual((int)fMB1.GetHashCode(), (int)equal.GetHashCode()); }
/// <summary> /// /// </summary> public void TestMoneyBagHash() { MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD")); Assertion.AssertEquals(fMB1.GetHashCode(), equal.GetHashCode()); }
public void MoneyBagHash() { MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD")); Assert.AreEqual(fMB1.GetHashCode(), equal.GetHashCode()); }
/// <summary> /// /// </summary> public void TestMoneyBagHash() { MoneyBag equal= new MoneyBag(new Money(12, "CHF"), new Money(7, "USD")); Assertion.AssertEquals(fMB1.GetHashCode(), equal.GetHashCode()); }