1
vote
2answers
226 views

What are good examples of using assertions to detect bugs?

Most examples of using assertions that I find seem to be about dealing with runtime errors, such as out of memory conditions. That's not what I'm after. One good example of using assertions to detect ...