public static int Main() { StringIndexOf test = new StringIndexOf(); TestLibrary.TestFramework.BeginTestCase("StringIndexOf"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
public List(string head, IIndexOf tail) { Head = new StringIndexOf(head); Tail = tail; }
public static int Main() { StringIndexOf test = new StringIndexOf(); TestLibrary.TestFramework.BeginTestCase("StringIndexOf"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
static void Main(string[] args) { IAlgorithm a = new StringIndexOf(); a.Run(); }