Esempio n. 1
0
        public void AmountPerFourKmIsOneHundredFourty()
        {
            var rent = new RentPerKilometre(CUIT, 4);

            Assert.Equal(140, rent.Amount());
        }
Esempio n. 2
0
        public void AmountPerKmWithoutKmIsNinetyFiveIfIsCompany()
        {
            var rent = new RentPerKilometre(CUIT_COMPANY, 0);

            Assert.Equal(95, rent.Amount());
        }
Esempio n. 3
0
        public void AmountPerZeroKmIsOneHundred()
        {
            var rent = new RentPerKilometre(CUIT, 0);

            Assert.Equal(100, rent.Amount());
        }