public void MyStack_Version1_03() { var solution = new Solution0225.MyStack_Version1(); solution.Push(1); solution.Pop().Should().Be(1); solution.Empty().Should().BeTrue(); }
public void MyStack_Version1_02() { var solution = new Solution0225.MyStack_Version1(); solution.Push(1); solution.Push(2); solution.Pop().Should().Be(2); solution.Top().Should().Be(1); }