Exemplo n.º 1
0
        public void shutdown_view_Test()
        {
            Shutdown_Maintenance c = new Shutdown_Maintenance();          // create obj c
            bool actual            = c.view("btnclick");                  //enter all right values in deletevalue method.
            bool expected          = true;                                //returned bool value from method deltevalues method

            Assert.AreEqual(expected, actual, "You did something wrong"); // expected is true  whereas actual is should match
        }
Exemplo n.º 2
0
        public void Shutdown_delete_Test()
        {
            Shutdown_Maintenance c = new Shutdown_Maintenance();          // create obj ad
            bool actual            = c.deletevalues("7");                 //enter all right values in deletevalue method.
            bool expected          = true;                                //returned bool value from method delete  method

            Assert.AreEqual(expected, actual, "You did something wrong"); // expected is false  whereas actual is should match
        }