static void Main(string[] args)
        {
            TestCode4 newCode4   = new TestCode4();
            bool      testresult = newCode4.Multiply("test stub");

            if (testresult == true)
            {
                Console.WriteLine("Test Case has Passed");
            }
            else
            {
                Console.WriteLine("Test Case has Failed");
            }
        }
Exemple #2
0
        public bool test()
        {
            code.Multiply("Testing the Fourth Test");   // test method is where all the testing gets done
            TestCode4 newTestCode4 = new TestCode4();
            bool      z            = newTestCode4.Multiply("Testing......");

            if (z == true)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Exemple #3
0
        private TestCode4 code;  // will be compiled into separate DLL

        public TestDriver4()
        {
            code = new TestCode4();
        }