+ 1

What's the purpose of Assertion please

Can someone please explain 'ASSERTION' to me please, I don't get it

14th Jan 2017, 7:48 AM
BEAM
BEAM - avatar
2 ответов
+ 2
Assertion is used to prove that a program is right. Assertion gets an value you expect and the function to test with parameters. If they are equal the function is right, If they are not, you have to fix them.
14th Jan 2017, 8:21 AM
Andreas K
Andreas K - avatar
0
hmm thanks
14th Jan 2017, 8:49 AM
BEAM
BEAM - avatar