Exemplo n.º 1
0
        public void TestPushOneItem()
        {
            _stack.Push("One");
            Assert.That(_stack.Count, Is.EqualTo(1));

            var array = _stack.ToArray();

            Assert.That(array.Length, Is.EqualTo(1));
            Assert.That(array[0], Is.EqualTo("One"));
        }