Пример #1
0
        public void IsBroke_AfterBreak_IsTrue()
        {
            var runner = new ProgramRunner(lines);

            runner.Break();

            Assert.IsTrue(runner.IsBroke);
        }
Пример #2
0
        public void MoveNext_AfterBreak_ReturnsFalse()
        {
            var runner = new ProgramRunner(lines);

            runner.Break();

            var condition = runner.MoveNext();

            Assert.IsFalse(condition);
        }