Пример #1
0
        public void TryPut_WithFullBuffer()
        {
            boundedBuffer.Put(5);
            boundedBuffer.Put(5);

            var success = boundedBuffer.TryPut(5, timeout);

            Assert.IsFalse(success);
        }