public void IsBroke_AfterBreak_IsTrue() { var runner = new ProgramRunner(lines); runner.Break(); Assert.IsTrue(runner.IsBroke); }
public void MoveNext_AfterBreak_ReturnsFalse() { var runner = new ProgramRunner(lines); runner.Break(); var condition = runner.MoveNext(); Assert.IsFalse(condition); }