Thread
:
Design By Contract Technique with an example
View Single Post
doctorweb
Newbie Member
8Nov2009,18:16
there are any problem below:
Example for Post-conditions checks could be:
Testing the validity of a pointer before returning to caller. or
Even the validity of returned results can be done by the "Called method" as part of Post-condition check.