Ejemplo n.º 1
0
        /* Test #6: checks if Subscribed Service Function is working properly for the Clients */

        public void CorrectService1()
        {
            var f = new Clients("Raab", "Helena", 2);

            Assert.IsTrue(f.ServiceAbo == "Premium Package: cemetery charges, care of grave");
        }
Ejemplo n.º 2
0
        /* Test #8 random test */

        public void RandomTest()
        {
            var h = new Clients("Carlisle", "Thomas", 1, 'm');

            Assert.IsFalse(h.Nameofperson == "Carlisle Thomas");
        }
Ejemplo n.º 3
0
        /*Test #3 if a client's address is correct*/

        public void NamesMatch()
        {
            var c = new Clients("Tisch", "Elise", 2, 'w');

            Assert.IsTrue(c.Title == "Mrs. ");
        }