I'll create an empty file called machine.rb, making the tests pass.
我将创建一个名为machine . rb的空文件,使测试通过。
The second reason is that we tend to end up with scruffy code in multiple-test methods, as we hack around making the tests reasonable.
第二是在我们悠闲地构造合理化测试过程中,我们逐步杜绝了杂乱的代码。
Making the tests equivalent, however, for say a dolphin that lives in the water and a horse that lives on the land is obviously complicated and may prove to be virtually impossible.
使测试都变得相同很明显是复杂的,也可能事实上是不可能的。比如说一只生活在水中的海豚和一匹生活在陆地上的马。
应用推荐