public void MoveNext_WhenRecallAfterComplete_ThrowsInvalidOperationException() { var runner = new ProgramRunner(lines); runner.Complete(); runner.MoveNext(); runner.MoveNext(); }
public void MoveNext_AfterComplete_ReturnsFalse() { var runner = new ProgramRunner(lines); runner.Complete(); var condition = runner.MoveNext(); Assert.IsFalse(condition); }