logoalt Hacker News

throwaway_7274today at 12:22 PM0 repliesview on HN

Assertions are for testing at runtime. They demonstrate that the behavior is correct on one input when it runs. Formal verification proves that the code is correct on _all_ inputs _before_ it runs.