示例#1
0
        public void BroBizzUdenRabatWeekend()
        {
            //Arrange
            var bil = new Bil("cb12345", new DateTime(2018, 9, 18));

            //Act
            decimal prisUdenRabat = bil.BroBizz();

            //Assert
            Assert.AreEqual(228m, prisUdenRabat);
        }
示例#2
0
        public void BroBizzRabat()
        {
            //Arrange
            var bil = new Bil();

            //Act
            decimal prisMedRabat = bil.BroBizz();

            //Assert
            Assert.AreEqual(161m, prisMedRabat);
        }
示例#3
0
        public void BroBizzRabatWeekend()
        {
            //Arrange
            var bil = new Bil("cb12345", new DateTime(2018, 9, 16));

            //Act
            decimal prisMedRabat = bil.BroBizz();

            //Assert
            Assert.AreEqual(182.4m, prisMedRabat);
        }