” (3) “规范案例”(Code Cases) 在标题下的内容修改: 将出现“2007版”的地方改成“2010版”,将出现“2010版”的地方改成“2013版”。
基于16个网页-相关网页
A complete basis for design in accordance with the Code, Edition, Addenda and Class and the use of applicable Code Cases is identified.
整个设计基础符合规范、日程和等级要求,并明确所采用的适用规范。
"The two cases I'm familiar with didn't involve open data or code," he says.
“我熟悉的这两种情况不涉及公开数据或代码。”他说。
They're a result of bad code, and in most cases, code without the problem would have been easy to write.
这些问题是错误编码的结果,在大部分情况中,很容易写出没有问题的代码。
And then what I get to do inside the curly braces is literally line by line enumerate the cases that I want to apply to the following code.
然后我们在花括号中要做的是,逐行地列举接下来我想要,应用的代码。
First one, when I write a piece of code, especially code that has branches in it, when I design test cases for that piece of code, I should try and have a specific test case for each possible path through the code.
第一点,当我们写代码的时候,尤其是一些含有分支语句的代码的时候,当我为这些代码,设计测试用例的时候,我应该为每一个可能的程序路径,都设计一个特别的用例。
So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.
所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。
应用推荐