示例#1
0
        public void ZeroMoney(AccountNumber accountNumber)
        {
            var sut = new Debit(accountNumber);

            Assert.Equal(new Debit(accountNumber, Money.Zero), sut);
        }
示例#2
0
 public bool Equals(Debit other) => Amount.Equals(other.Amount) && AccountNumber.Equals(other.AccountNumber);
示例#3
0
 public void InequalityOperator(Debit left, Debit right)
 {
     Assert.False(left == right);
 }
示例#4
0
 public void InequalityOperator(Debit left, Debit right)
 {
     Assert.True(left != right);
 }