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

... (The precessing motion is perpendicular to the torque trying to make the gyro fall over.) The axis of the gyroscope in the Dynabee is fixed to the spinning mass and it ...

 
 
 
This page was created in 26.5 ms