The document describes different types of assertions that can be used for testing in C++. It outlines fatal vs non-fatal assertions and their usage. Basic assertions test for equality, inequality, greater/less than comparisons. String assertions test for matching or differing string contents. Exception assertions allow testing if code throws or does not throw exceptions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views2 pages
Fatal Non-Fatal What It Tests
The document describes different types of assertions that can be used for testing in C++. It outlines fatal vs non-fatal assertions and their usage. Basic assertions test for equality, inequality, greater/less than comparisons. String assertions test for matching or differing string contents. Exception assertions allow testing if code throws or does not throw exceptions.