+ 2

What is assertions?can you give me a popular example when we should include assertions in our codes!

31st Dec 2020, 3:00 PM
Arts*
Arts* - avatar
2 Answers
+ 3
This may help and for me using assertion makes it easier to find/prevent bugs especially with long codes. https://www.sololearn.com/Discuss/2100577/?ref=app
31st Dec 2020, 3:37 PM
noteve
noteve - avatar
+ 3
It helps with writing test code.
31st Dec 2020, 10:47 PM
Sonic
Sonic - avatar