All right? The first one is, that test has to involve-- shouldn't have to, the value of some variable.
好不好?第一件事是,循环开始的测试必须必须-不是一定,一些变量的值。
So what's going on in this case is, I want to distinguish between shallow equality and deep equality.
第一件事情就是,测试浅意义上的相等,这什么意思呢,这是个不太好的英语句子。
The third thing I'm going to do, is I need to set up the right end test.
我要做的第三件事情,就是需要设置正确的完结测试。
It has a test in it, which is that while, while something is true, do something, but I want to keep doing it.
也有个测试在里面,也就是那个当,当一件事情为真的时候,做一些操作,但是我想一直进行判断。
Because usually it doesn't work. And so one of the things that I think is very important is to always begin by testing each unit.
因此我认为非常重要的一件事情,就是开始测试的时候先对,每个独立单元进行测试。
So one of the things I want you to notice here is that testing and debugging are not the same thing. When we test, we compare an input output pair to a specification.
这里我想大家注意的一件事,就是测试和调试是不同的两件事情,我们测试的时候,我们把输入输出,跟程序的规格说明书对比下。
It's typically a combination of two things.
是两件事情的组合,测试和推理。
应用推荐