public static int Main() { StringBuilderLength testObj = new StringBuilderLength(); TestLibrary.TestFramework.BeginTestCase("for property: StringBuilder.Length"); 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() { StringBuilderLength testObj = new StringBuilderLength(); TestLibrary.TestFramework.BeginTestCase("for property: StringBuilder.Length"); if (testObj.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
static int Main() { StringBuilderLength test = new StringBuilderLength(); TestFramework.BeginTestCase("StringBuilder.Length"); if (test.RunTests()) { TestFramework.EndTestCase(); TestFramework.LogInformation("PASS"); return(100); } else { TestFramework.EndTestCase(); TestFramework.LogInformation("FAIL"); return(0); } }
static int Main() { StringBuilderLength test = new StringBuilderLength(); TestFramework.BeginTestCase("StringBuilder.Length"); if (test.RunTests()) { TestFramework.EndTestCase(); TestFramework.LogInformation("PASS"); return 100; } else { TestFramework.EndTestCase(); TestFramework.LogInformation("FAIL"); return 0; } }