首页 > Term: assertion
assertion
A Boolean statement used in a program to test a condition that, if the program is operating correctly, should always evaluate as true; otherwise the program will typically terminate with an appropriate error message. Assertions are used for debugging programs and for documenting how a program should operate.
0
创建者
- Maxiao
- 100% positive feedback