Beispiel #1
0
        public void CalculatePremiumTest()
        {
            SmartInsuranceRepository smartRepo = new SmartInsuranceRepository();


            int actual   = smartRepo.CalculatePremium(3, 1, 2, 1);
            int expected = (225);

            Assert.AreEqual(expected, actual);
        }
 public void Arrange()
 {
     _insuranceRepo = new SmartInsuranceRepository();
     _driver        = new Driver(00001, "John Smith", new DriverData(10, 1, 3, 5));
     _insuranceRepo.AddDriverToDict(_driver);
 }