public bool RealWeakRef(int iObj, int iSwitch) { CreateObj temp = new CreateObj(iObj); bool result = temp.RunTest(iObj, iSwitch); return(result); }
public static int Main() { Console.WriteLine("Test should return with ExitCode 100 ..."); CreateObj temp = new CreateObj(); if (temp.RunTest()) { Console.WriteLine("Test Passed"); return(100); } Console.WriteLine("Test Failed"); return(1); }
public static int Main() { Console.WriteLine("Test should return with ExitCode 100 ..."); CreateObj temp = new CreateObj(); if(temp.RunTest()) { Console.WriteLine("Test Passed"); return 100; } Console.WriteLine("Test Failed"); return 1; }
#pragma warning restore 0414 public static int Main(String [] str) { Console.WriteLine("Test should return with ExitCode 100 ..."); CreateObj temp = new CreateObj(); if (temp.RunTest()) { Console.WriteLine( "Test passed!" ); return 100; } else { Console.WriteLine( "Test failed!" ); return 1; } }
#pragma warning restore 0414 public static int Main(String [] str) { Console.WriteLine("Test should return with ExitCode 100 ..."); CreateObj temp = new CreateObj(); if (temp.RunTest()) { Console.WriteLine("Test passed!"); return(100); } else { Console.WriteLine("Test failed!"); return(1); } }
public bool RealWeakRef(int iObj, int iSwitch) { CreateObj temp = new CreateObj(iObj,iSwitch); bool result = temp.RunTest(iObj,iSwitch); return result; }