Then they test you to make sure that you have adequate protection, and some people need an additional shot after that.
然后医生会检测以确定你已获得了保护,有些人在测试完后需要再打一针
to validate the entire radio before it is released to the public.
以便在对外发布之前把所有的广播功能都测试一遍。
And I end up going back and doing unit testing anyway, to try and figure out why it doesn't work. So over the years, I've just convinced myself I might as well start where I'm going to end up.
第一次从来不会正常运行,因此无论如何我还要回头去做单元测试,找找哪儿出错了,因此经过这么多年,我已经说服自己既然一定要做单元测试,那么还是一开始就做最好了。
I wish there were some easy litmus test that I could just give you so you'd know which of you would be making a mistake taking this class.
我希望能有一种简单的石蕊测试,让我可以直接展示给你们并让你们知道,你们中的谁上这门课是一个错误。
It's a new test, newly devised.
这是一项新发明的测试。
You're going to get these personality tests all the time and the personality tests-- You're applying for a business and " one of the tests says "I like to steal from my bosses " Well, I don't think so No That's a little IQ test right there ? So, the question is how do you avoid that problem?
你们以后会做很多这样的性格测试,例如:你求职时做性格测试,其中一题是“我想偷老板的东西“,不,我不会,这相当于一个智商测试,问题在于,你怎么避免那个问题?
I've got a really bad grade on my test.
我在一门测试中考了一个很差的成绩。
There's unit testing, where we validate each piece of the program independently.
一种是单元测试,也就是,分别验证程序中的每一个独立部分。
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.
这里我想大家注意的一件事,就是测试和调试是不同的两件事情,我们测试的时候,我们把输入输出,跟程序的规格说明书对比下。
- And it's worth--; it's sort of a useful test for asking yourself -- what are the things you must value in life-- to ask, what would you choose to do if you knew you had five years, ten years, ? what have you?
而这值得;,这算是一种很有用的测试,用来问自己什么是你在生命中必须珍惜的事-,问你会怎么选择,如果你知道自己还有5年,10年,之类的时间?
It has a test in it, which is that while, while something is true, do something, but I want to keep doing it.
也有个测试在里面,也就是那个当,当一件事情为真的时候,做一些操作,但是我想一直进行判断。
Let's try it again. Test bubble sort.
让我们再试一试吧,测试下冒泡排序。
The other kind of testing is integration testing.
另外一种测试就是集成测试。
And what he did there was went to the students, had them take a test and then go to their teachers after and tell the teachers, "Your students just took a new test that was devised-- " a new academic test which is called "the fast spurters' test".
去到学生中间,让他们接受一次测验,然后去找他们的老师并告诉他们,“你们的学生刚接受了一个新测试-,一种新的学业测试,叫作快速迸发者测试。
This was developed by Mahzarin Banaji who used to be at Yale and now is in an inferior university in Boston and it's called implicit attitudes test and it's the biggest psychology experiment ever done in terms of people.
这是Mahzarin,Banaji研究出来的,他以前在耶鲁任教,现在在波士顿一间大学任教,这个叫内隐态度测试,这是有史以来最大规模的一个心理实验,从人数上来讲的话。
And I'm going to do it only using multiplication and addition and some simple tests. All right?
我只能用乘法和加法,以及一些小测试来解决这个问题?
应用推荐