public static int Main() { StringCompare5 sc = new StringCompare5(); TestLibrary.TestFramework.BeginTestCase("for method: System.String.Compare(String, String)"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
public static int Main() { StringCompare5 sc = new StringCompare5(); TestLibrary.TestFramework.BeginTestCase("for method: String.Compare Method (String, String)"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }