示例#1
0
        public void CalcTotalPriceTestFail()
        {
            var model = new BookingViewModel();

            double pricePerNight = 10;
            double pricePerWeek  = 60;
            int    totalNights   = 9;

            double result = model.CalcTotalPrice(pricePerNight, pricePerWeek, totalNights);

            Assert.AreNotEqual(180, result);
        }