Esempio n. 1
0
        public override void MainRun()
        {
            CloningService cloningService = new CloningService();
            //TestikClass t = new TestikClass(5, "asd");
            TestikStruct t = new TestikStruct(5, "asd", new TestikClass(1, "A"));


            TestikClass tt  = new TestikClass(1, "1");
            TestikClass tt1 = new TestikClass(1, "1");

            int[]  xx  = new int[] { 1, 2, 3, 4, 5 };
            string aaa = "aaa";
            //int x = 8;
            //int p = cloningService.Clone<int>(x);
            //TestikClass y = cloningService.Clone<TestikClass>(tt);
            //var bbb = cloningService.Clone<int[]>(xx);



            CloningServiceTest c = new CloningServiceTest();

            //c.CollectionTest();
            c.RunAllTests();
        }
Esempio n. 2
0
 public TestikStruct(int a, string b, TestikClass t)
 {
     A    = a;
     B    = b;
     Test = t;
 }