Exemplo n.º 1
0
        public void TestMethod9()
        {
            IRentTypeFamily rent = new RentForFamily();

            rent.DateFrom = new DateTime(2018, 5, 26);

            Assert.AreEqual(rent.DateFrom.ToShortDateString(), "26/05/2018");
        }
Exemplo n.º 2
0
        public void TestMethod62()
        {
            IRentTypeFamily rent = new RentForFamily();

            rent.DateFrom = new DateTime(2018, 5, 26);

            Assert.AreEqual(rent.Description, "This are rents for a family group");
        }
Exemplo n.º 3
0
        public void TestMethod46()
        {
            IRentTypeFamily rent = new RentForFamily();

            rent.Customer = new Customer {
                Name = "Peter", LastName = "Quill"
            };

            Assert.AreNotEqual(rent.Customer, null);
        }
Exemplo n.º 4
0
        public void TestMethod11()
        {
            IRentTypeFamily rent = new RentForFamily();

            Assert.AreNotEqual(rent.PrintTicket(), "");
        }
Exemplo n.º 5
0
        public void TestMethod8()
        {
            IRentTypeFamily rent = new RentForFamily();

            Assert.AreEqual(rent.CalculateTotal(), -30.0);
        }