예제 #1
0
 public void Setup()
 {
     _recentlyUsedList = new RecentlyUsedList <string>();
     _size             = 10;
 }
예제 #2
0
 public void TearDown()
 {
     _recentlyUsedList = null;
     _size             = -1;
 }
예제 #3
0
        public void CanDefineListSize()
        {
            var sizeableList = new RecentlyUsedList <string>(_size);

            Assert.That(_size, Is.EqualTo(sizeableList.Size));
        }