go top

网络释义

  type assertion

GTest内部广泛对类型测试的支持,这一点一方面是得益于C++类模板机制,我们来看看其中最简单的类型断言Type Assertion)。类型断言指的是断言某一个类型与另一个类型是相同的,否则测试在编译时报错。

基于24个网页-相关网页

短语

断言类型 Assert Type

双语例句

  • 还要使用数据类型断言进行验证

    You should validate using data types and assertions as well.

    youdao

  • 使用简单内容定义复杂类型时,可以指定两种类型断言

    When defining a complex type with simple content, you can specify two types of assertions.

    youdao

  • 对于同一断言类型具体的目标设置策略可以覆盖高级目标中定义的策略。

    Policies defined at high order targets can be overridden by policies set at a more specific target for the same assertion type.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定