public static int Main() { CompareInfoIndexOf test = new CompareInfoIndexOf(); TestLibrary.TestFramework.BeginTestCase("CompareInfoIndexOf"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
static int Main() { CompareInfoIndexOf test = new CompareInfoIndexOf(); TestFramework.BeginTestCase("CompareInfo.IndexOf"); if (test.RunTests()) { TestFramework.EndTestCase(); TestFramework.LogInformation("PASS"); return 100; } else { TestFramework.EndTestCase(); TestFramework.LogInformation("FAIL"); return 0; } }