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
Dynabee

... force will cause one end of the axis to push against the upper rim of the groove, while the other end of the axis pushes against the lower rim of the groove. Whil ...

 
 
 
This page was created in 22.2 ms