static int Main() { EncodingGetByteCount test = new EncodingGetByteCount(); TestFramework.BeginTestCase("Encoding.GetByteCount"); if (test.RunTests()) { TestFramework.EndTestCase(); TestFramework.LogInformation("PASS"); return(100); } else { TestFramework.EndTestCase(); TestFramework.LogInformation("FAIL"); return(0); } }
static int Main() { EncodingGetByteCount test = new EncodingGetByteCount(); TestFramework.BeginTestCase("Encoding.GetByteCount"); if (test.RunTests()) { TestFramework.EndTestCase(); TestFramework.LogInformation("PASS"); return 100; } else { TestFramework.EndTestCase(); TestFramework.LogInformation("FAIL"); return 0; } }