Pls. describe it in detail with code
Use of assertions
Collapse
X
-
Have a look at this Tutorial, it desribes it much better than I could doOriginally posted by anugrahPls. describe it in detail with code
in a few lines. It's all about a crude way of programming by contract, i.e. you
'assert' that certain conditions are true before you start your method. You can
also check the correctness of your method by 'asserting' the results afterwards.
kind regards,
Jos
Comment