示例#1
0
 public void Peek_EmptyStack_ThrowsExcepion()
 {
     Assert.That(() => _stack.Peek(), Throws.InvalidOperationException);
 }
示例#2
0
 public TValue Peek()
 {
     return(stack.Peek());
 }