和其他栈一样,我在对这些文章进行测试时,也发现了一些CXF问题。
Just as with the other stacks, I found some CXF problems in testing for these articles.
现在,我的单元测试-向栈上压入2,4,6,然后从栈顶弹出两个元素以检验他们是否为6,4-失败了。
Now, my unit test -- which pushes 2, 4, and 6 onto the stack and pops the top two elements off to verify that they are 6 and 4 -- fails.
这些排名并不是权威的,因此,如果您要使用它们创建您自己的栈,务必要检查我的理由,并做出自己的判断。
These rankings are not intended to be definitive, so if you are using them in making a decision about your own use of a stack, be sure to review my justifications and make your own judgment.
应用推荐