예제 #1
0
        public void MoneyBagHash()

        {
            MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));

            Assert.AreEqual((int)fMB1.GetHashCode(), (int)equal.GetHashCode());
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        public void TestMoneyBagHash()
        {
            MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));

            Assertion.AssertEquals(fMB1.GetHashCode(), equal.GetHashCode());
        }
예제 #3
0
 public void MoneyBagHash()
 {
   MoneyBag equal = new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));
   Assert.AreEqual(fMB1.GetHashCode(), equal.GetHashCode());
 }
예제 #4
0
파일: MoneyTest.cs 프로젝트: jhare/MDNA
 /// <summary>
 /// 
 /// </summary>
 public void TestMoneyBagHash()
 {
     MoneyBag equal= new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));
     Assertion.AssertEquals(fMB1.GetHashCode(), equal.GetHashCode());
 }