public static void Main(string[] args)
        {
            Trace("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)\n");
              Trace("Begin ManualTestPerformanceArrayAccess.Main\n");
              Trace("\n");

              Vehicle v1 = new Vehicle();
              int length = (int)v1.TGetInfoArrayLength();
              int maxi = 3 * (int)v1.MaxIndex;

              WriteNativeCsharpArrayElements(length, maxi);

              WriteCppArrayElements(length, maxi, v1);

              Trace("End ManualTestPerformanceArrayAccess.Main\n");
        }
Example #2
0
        public static void Main(string[] args)
        {
            Trace("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)\n");
            Trace("Begin ManualTestPerformanceArrayAccess.Main\n");
            Trace("\n");

            Vehicle v1     = new Vehicle();
            int     length = (int)v1.TGetInfoArrayLength();
            int     maxi   = 3 * (int)v1.MaxIndex;

            WriteNativeCsharpArrayElements(length, maxi);

            WriteCppArrayElements(length, maxi, v1);

            Trace("End ManualTestPerformanceArrayAccess.Main\n");
        }