Пример #1
0
        public void ShouldContinueToRepeat_AlwaysReturnsTrue()
        {
            var infinite = new InfiniteRepeatBehavior ();

            infinite.RepeatPerformed ();
            infinite.RepeatPerformed ();

            bool should_continue = infinite.ShouldContinueToRepeat ();
            Assert.IsTrue (should_continue);
        }
Пример #2
0
        public void ShouldContinueToRepeat_AlwaysReturnsTrue()
        {
            var infinite = new InfiniteRepeatBehavior();

            infinite.RepeatPerformed();
            infinite.RepeatPerformed();

            bool should_continue = infinite.ShouldContinueToRepeat();

            Assert.IsTrue(should_continue);
        }