Esempio n. 1
0
        public void GetSequence_WhenCalledMultipleTimes_WillAddNewItemsToList()
        {
            var moveManager = new MoveManager(new MoveGenerator());

            var sequence1 = moveManager.GetSequence();
            Assert.AreEqual(1, sequence1.Count);

            var sequence2 = moveManager.GetSequence();
            Assert.AreEqual(2, sequence2.Count);

            var sequence3 = moveManager.GetSequence();
            Assert.AreEqual(3, sequence3.Count);

            var sequence4 = moveManager.GetSequence();
            Assert.AreEqual(4, sequence4.Count);
        }
Esempio n. 2
0
        public void GetSequence_WillAddNewItemToList()
        {
            var moveManager = new MoveManager(new MoveGenerator());

            var sequence = moveManager.GetSequence();

            Assert.AreEqual(1, sequence.Count);
        }