예제 #1
0
        public void GetItemRandomly()
        {
            // Arrange
            var randList = new RandomList <int>(Enumerable.Range(0, 10));

            // Act
            int item = randList.GetItemRandomly();

            // Assert
            Assert.Contains(item, randList);
        }