Ejemplo n.º 1
0
        public static void RunTest(int iNofObjects)
        {
            for (int i = 0; i < iNofObjects; i++)
            {
                StringCreator sc = new StringCreator();
                int slicer = 0;
                String str;
                sc.CreateString();
                do
                {
                    slicer = sc.SplitString(slicer);
                    str = sc.RotateStrings();
                } while(String.Compare(String.Empty, "") != 0);

                Console.WriteLine("\nslicer = {0}", slicer);
            }
        }
Ejemplo n.º 2
0
        public static void RunTest(int iNofObjects)
        {
            for (int i = 0; i < iNofObjects; i++)
            {
                StringCreator sc     = new StringCreator();
                int           slicer = 0;
                String        str;
                sc.CreateString();
                do
                {
                    slicer = sc.SplitString(slicer);
                    str    = sc.RotateStrings();
                } while(String.Compare(String.Empty, "") != 0);

                Console.WriteLine("\nslicer = {0}", slicer);
            }
        }