public static int Main() { StringCompare6 sc = new StringCompare6(); TestLibrary.TestFramework.BeginTestCase("for method: String.Compare Method (String, String, Boolean)"); 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() { StringCompare6 sc = new StringCompare6(); TestLibrary.TestFramework.BeginTestCase("for method: String.Compare Method (String, String, Boolean)"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }