public void ShouldBeAbleToGiveCompoundInterestForDepositTransaction()
{
Price deposit = new Price(10000);
TermDeposit termDeposit = new TermDeposit(new Term(4), deposit, new Symbol("CITI"), "Term Deposit", new InterestRate(10), 24);
Transaction termDepositTransaction = new TermDepositTransaction(new DateTime(2006, 11, 6), termDeposit, new Price(10000.00));
double noOfYears = ((double)DateTime.Now.Subtract(new DateTime(2006, 11, 6)).Days) / 365;
double expectedAmount = Math.Round((deposit.GetEffectiveReturn(noOfYears, 0.1).Value), 2);
Assert.AreEqual(Math.Round(expectedAmount), termDepositTransaction.Amount().Value);
}