Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            CodeToTest1 ctt = new CodeToTest1();

            ctt.divide(2, 1);
            Console.Write("\n\n");
        }
Ejemplo n.º 2
0
        private CodeToTest1 code;  // will be compiled into separate DLL

        //----< Testdriver constructor >---------------------------------

        /*
         *  For production code the test driver may need the tested code
         *  to provide a creational function.
         */
        public TestDriver1()
        {
            code = new CodeToTest1();
        }