Encyclopedia > Postcondition

  Article Content

Postcondition

A postcondition is a fact that must always be true just after the execution of some section of code. Postconditions are sometimes tested using assertions within the code itself. Often, postconditions are simply included in the documentation of the affected section of code.

Related: Design by contract, Precondition



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Quadratic formula

... c, which are assumed to be real (but see below for generalizations) with a being non-zero. These solutions are also called the roots of the equation. The formu ...

 
 
 
This page was created in 45.8 ms