public void TestCalculateMaxiSavingInterestWithdrawalOlderThen10Days()
        {
            Transaction[] trx = new[]
            {
                new Transaction(2000,new DateTime(1970,1,1)),
                new Transaction(-1000, new DateTime(1970,6,30))
            };
            MaxiSavingInterestCalculator calculator = new MaxiSavingInterestCalculator();
            double amount = calculator.Calculate(trx, new DateTime(1970, 12, 27));
            double expected =
                2000.0.DailyInterest(5.0, 180)
                + 1000.0.DailyInterest(5.0,180);
            Assert.AreEqual(expected, amount, DOUBLE_DELTA);        

        }
 public void TestCalculateMaxiSavingInterestFor180DAnd360ays()
 {
     Transaction[] trx = new[]
     {
         new Transaction(1000,new DateTime(1970,1,1)),
         new Transaction(1000,new DateTime(1970,6,30)),
     };
     MaxiSavingInterestCalculator calculator = new MaxiSavingInterestCalculator();
     double amount = calculator.Calculate(trx, new DateTime(1970, 12, 27));
     Assert.AreEqual(75, amount, DOUBLE_DELTA);
 }