Skip to content

Glossary: System Design Beyond the Basics in C++

CHECK macro

Also written: CHECK

A small macro defined in `test_national.cpp` that counts a failure and prints the failed condition with its line number, so plain C++ tests need no library.

Where the book teaches it

Related terms

Macroassert