public void Contains_02()
        {
            // Arrange
            var list = new LimitList <int>(3);

            list.AddLast(1);
            list.AddLast(2);

            // Act
            var result = list.Contains(3);

            // Assert
            Assert.AreEqual(false, result);
        }
Exemple #2
0
        public void Contains_01()
        {
            // Arrange
            var list = new LimitList <int>(3);

            list.AddLast(1);
            list.AddLast(2);

            // Act
            var result = list.Contains(2);

            // Assert
            Assert.True(result);
        }