Beispiel #1
0
        public void TestPrice()
        {
            Assert.AreEqual(price, s1.Price);
            int days = s1.Availability.Days;

            Assert.AreEqual(price * days, s1.PriceFor(days));
            Assert.AreEqual(price * days, s1.PriceFor(s1.Availability));
        }