예제 #1
0
        public void PeekNextBlock_SameBook()
        {
            var firstBook   = m_books.First();
            var firstBlock  = firstBook[0];
            var secondBlock = firstBook[1];

            m_navigator.CurrentBlock = firstBlock;
            BookScript currentBook  = m_navigator.CurrentBook;
            Block      currentBlock = m_navigator.CurrentBlock;

            Assert.AreEqual(secondBlock, m_navigator.PeekNextBlock());
            Assert.AreEqual(currentBlock, m_navigator.CurrentBlock);
            Assert.AreEqual(currentBook, m_navigator.CurrentBook);
        }