後驗條件
Sign in to saveAlso known as output condition, postconditions, output conditions
In computer programming, a postcondition is a condition or predicate that must always be true just after the execution of some section of code or after an operation in a formal specification. Postconditions are sometimes tested using assertions within the code itself. Often, postconditions are simply included in the documentation of the affected section of code.
Wikidata facts
- Subclass of
- condition
Show 1 more fact
- different from
- precondition
Sources (1)
via Wikidata · CC0
Article · 中文
在计算机编程中,后置条件指在执行一段代码后必须成立的条件或谓词。 例如,阶乘的结果应该是大于等于1的整数。
Abstract from DBpedia / Wikipedia · CC BY-SA