Пример #1
0
 public static int Main()
 {
     Console.WriteLine("Test that StackTrace for OOM is proper if memory is available");
     SharedExceptions test = new SharedExceptions();
     test.RunTest();
     Console.WriteLine(100 == test.retVal ? "Test Passed":"Test Failed");
     return test.retVal;
 }
Пример #2
0
    public static int Main()
    {
        Console.WriteLine("Test that StackTrace for OOM is proper if memory is available");
        SharedExceptions test = new SharedExceptions();

        test.RunTest();
        Console.WriteLine(100 == test.retVal ? "Test Passed":"Test Failed");
        return(test.retVal);
    }