예제 #1
0
        public void TestDaysDueFew()
        {
            RentAmountDueCalc obj = new RentAmountDueCalc();
            int PayableRentAmount = obj.Calculate(100, 1);

            Assert.AreEqual(102, PayableRentAmount);
        }
예제 #2
0
        public void TestDaysDueExtreme()
        {
            RentAmountDueCalc obj = new RentAmountDueCalc();
            int PayableRentAmount = obj.Calculate(100, 1422);

            Assert.AreEqual(14320, PayableRentAmount);
        }
예제 #3
0
        public void TestDaysDueAverage()
        {
            RentAmountDueCalc obj = new RentAmountDueCalc();
            int PayableRentAmount = obj.Calculate(100, 15);

            Assert.AreEqual(175, PayableRentAmount);
        }
예제 #4
0
        public void TestDaysDueMany()
        {
            RentAmountDueCalc obj = new RentAmountDueCalc();
            int PayableRentAmount = obj.Calculate(100, 32);

            Assert.AreEqual(420, PayableRentAmount);
        }
예제 #5
0
 public void TestDaysDueMany()
 {
     RentAmountDueCalc obj = new RentAmountDueCalc();
     int PayableRentAmount = obj.Calculate(100, 32);
     Assert.AreEqual(420, PayableRentAmount);
 }
예제 #6
0
 public void TestDaysDueFew()
 {
     RentAmountDueCalc obj = new RentAmountDueCalc();
     int PayableRentAmount = obj.Calculate(100, 1);
     Assert.AreEqual(102, PayableRentAmount);
 }
예제 #7
0
 public void TestDaysDueExtreme()
 {
     RentAmountDueCalc obj = new RentAmountDueCalc();
     int PayableRentAmount = obj.Calculate(100, 1422);
     Assert.AreEqual(14320, PayableRentAmount);
 }
예제 #8
0
 public void TestDaysDueAverage()
 {
     RentAmountDueCalc obj = new RentAmountDueCalc();
     int PayableRentAmount = obj.Calculate(100, 15);
     Assert.AreEqual(175, PayableRentAmount);
 }