A good test suite shows what output should be expected for a set of test inputs, and that is a good way to explain the purpose of a method.
英
美
- 好的测试程序组可以展示针对一套输入应该有什么样的输出,并且这也是个好的方法来解释程序预期实现方法。
