Exemple #1
0
        public void Component_save_Test()
        {
            Component_info c        = new Component_info();                                // create obj c
            bool           acutal   = c.savevalue("test", "test", "test", "test", "test"); //enter all right values in savevalue method.
            bool           expected = true;                                                //returned bool value from method savevalues method

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