public static int Main(string[] args) { IEnumeratorCurrent current = new IEnumeratorCurrent(); TestLibrary.TestFramework.BeginTestCase("Testing System.Collections.IEnumerator.Current property..."); if (current.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
public static int Main() { IEnumeratorCurrent testObj = new IEnumeratorCurrent(); TestLibrary.TestFramework.BeginTestCase("Testing for Property: System.Collections.Generic.IEnumerator<T>.Current"); if (testObj.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) { IEnumeratorCurrent current = new IEnumeratorCurrent(); TestLibrary.TestFramework.BeginTestCase("Testing System.Collections.IEnumerator.Current property..."); if (current.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }