public static int Main() { CharIsSurrogatePair testObj = new CharIsSurrogatePair(); TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogatePair(Char, char)"); if (testObj.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
public static int Main() { CharIsSurrogatePair testObj = new CharIsSurrogatePair(); TestLibrary.TestFramework.BeginTestCase("for method: Char.IsSurrogatePair(string, index)"); if (testObj.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }