For example, we do not validate that length is a positive number big enough for a meaningful ruler or that the file specified is a valid image file type for ImageMagick.
例如,对于长度是不是对一个有意义的标尺足够大的正数值,或者指定的文件是不是ImageMagick的有效图像文件类型,我们没有进行验证。
If you need to implement critical validation logic, such as ensuring that a deposit into a bank account is always positive, then a valid place to consider putting that logic is in the setter.
如果需要实现关键确认逻辑(例如确保银行帐户的存款始终是正数),则考虑将该逻辑放置在setter这个有效场所。
A reflection from the second Sun is normally proof positive of a valid capture, but there are indications this second reflection is a ghost.
第二个太阳的反射通常是有效捕捉的铁证,但是有显示说明这个第二次反射是个幻影。
Making architecture is creative free and positive thinking; the dialogue with contemporary art is a valid source for inspiration.
积极与当代艺术对话,从中获取有效的灵感,赋予建筑自由创造性和积极思维。
The criticism, positive or negative, is valid, but it must be real and based on real facts.
无论是正面的还是负面的评论,都应该是有所根据的,但是报道必须真实,建立在事实的基础上。
A positive test is when you put in a valid input and expect some action to be completed in accordance with the specification.
正向测试是指,当你输入一个有效的输入并且期望软件能够完成一些根据说明书规定的行为。
A positive test is when you put in a valid input and expect some action to be completed in accordance with the specification.
正向测试是指,当你输入一个有效的输入并且期望软件能够完成一些根据说明书规定的行为。
应用推荐