Skip to main content

3 docs tagged with "assertions"

View all tags

Assertions and static_assert

Assertions are runtime or compile-time checks that verify program invariants and assumptions. They help catch bugs early during development and document expected conditions in code.

GTest Basics

Google Test (GTest) is Google's C++ testing framework. Tests are plain functions wrapped in macros; GTest collects them automatically and reports failures with file name, line number, and the expected vs. actual values.

Logging and assertions

Unreal doesn't use C++ exceptions — throwing is disabled across the engine, and Epic's own guidance is