|
|
|
|
|
by enraged_camel
40 days ago
|
|
>> If I have a function add_nums that takes 2 numbers and adds them, there are like infinite inputs that can be tested. That's what formal verification is for: you generate math statements from the code, and then prove them. Testing is for covering the most common scenarios and likely edge cases. 100% coverage means every line of code in the app is executed when your test suite runs. It is useful as a bare minimum, but by itself does not guarantee that there are no bugs. |
|