So here's my unit test procedure.
所以这就是我的单元测试流程。
So it's got an internal procedure,internal function, local to the unit test, that runs the simulation.
它有内部过程,内部函数,它对unit,test来说是有本地环境,来支持股票仿真程序的运行。
So what's going to happen here? If I'm inside this FOR, OK, and I'm running around, if I ever hit a place where this test is true, I'm going to execute that return, return that return returns from the entire procedure. OK? So the return comes back from the procedure.
那么这里发生了什么呢?,如果我是在这个for循环里面,我正在运行,如果我运行到test的值为真的地方,我就会执行,这个return将会返回整个程序的值,明白了吗?所以它将会从整个程序中返回值。
应用推荐