public static int Main(string[] args) { ByteIConvertibleToType toType = new ByteIConvertibleToType(); TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToType(System.Type,System.IFormatProvider)..."); if (toType.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) { ByteIConvertibleToType toType = new ByteIConvertibleToType(); TestLibrary.TestFramework.BeginTestCase("Testing System.Byte.IConvertible.ToType(System.Type,System.IFormatProvider)..."); if (toType.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }