public static int Main(string[] args) { StringCtor5 sc = new StringCtor5(); TestLibrary.TestFramework.BeginTestCase("StringCtor_charArray_Int32_Int32"); 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(string[] args) { StringCtor5 sc = new StringCtor5(); TestLibrary.TestFramework.BeginTestCase("StringCtor_charArray_Int32_Int32"); if (sc.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }