public void TestTheCustomerConstructor()
        {
            Customer cust = new Group_Project.Customer("Jones", 5);

            bool isFalse = true;

            if (cust.Equals(null))
            {
                isFalse = false;
            }

            Assert.IsTrue(isFalse);
        }
Пример #2
0
        public void Table_AddParty()
        {
            bool     isThere;
            Customer pty = new Group_Project.Customer("Smiths", 5);

            tbl.AssignCustomer(pty);
            if (tbl.Party != null)
            {
                isThere = true;
            }
            else
            {
                isThere = false;
            }
            Assert.IsTrue(isThere);
        }