Example #1
0
        public bool runTest(int Rep, int Obj)
        {
            for (int i = 0; i < Rep; i++)
            {
                CvA_RandomNode = new RandomNode[Obj];

                for (int j = 0; j < Obj; j++)
                {
                    CvA_RandomNode[j] = new RandomNode(j, j);
                    if (j == 0)
                    {
                        CvA_RandomNode[j].setBigSize(0);
                    }
                }

                CvA_RandomNode = null;

                GC.Collect();
            }

            return(true);
        }
Example #2
0
        public bool runTest( int Rep, int Obj )
        {

            for( int i = 0; i < Rep; i++ )
            {
                CvA_RandomNode = new RandomNode[ Obj ];

                for( int j = 0; j < Obj; j++ )
                {
                    CvA_RandomNode[ j ] = new RandomNode( j, j );
                    if( j == 0 )
                    {
                        CvA_RandomNode[ j ].setBigSize( 0 );
                    }
                }

                CvA_RandomNode = null;

                GC.Collect();
            }

            return true;

        }