/// <summary> /// Test String.Compare(System.String,System.Int32,System.String,System.Int32,System.Int32) /// </summary> /// <param name="args"></param> /// <returns></returns> public static int Main(string[] args) { StringCompare1 sc = new StringCompare1(); TestLibrary.TestFramework.BeginScenario("Test String.Compare(System.String,System.Int32,System.String,System.Int32,System.Int32)"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
/// <summary> /// Test String.Compare(System.String,System.Int32,System.String,System.Int32,System.Int32) /// </summary> /// <param name="args"></param> /// <returns></returns> public static int Main(string[] args) { StringCompare1 sc = new StringCompare1(); TestLibrary.TestFramework.BeginScenario("Test String.Compare(System.String,System.Int32,System.String,System.Int32,System.Int32)"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }