micro-test-plus 3.2.2
µTest++ Testing Framework
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::assertion< Expr_T > Struct Template Reference

Assertion struct template for parameter passing to the evaluator. More...

#include <micro-os-plus/micro-test-plus.h>

Public Attributes

Expr_T expr {}
 The expression under evaluation.
reflection::source_location location {}
 The source location associated with the assertion.

Detailed Description

template<class Expr_T>
struct micro_os_plus::micro_test_plus::detail::assertion< Expr_T >
Template Parameters
Expr_TThe type of the expression being asserted.

The assertion struct template is used to encapsulate assertion parameters, including the expression under evaluation and its associated source location. This design enables precise reporting and diagnostics within the framework.

The structure is intended exclusively for internal use and is implemented in the include/micro-os-plus/micro-test-plus folder to maintain a structured and modular codebase.

Definition at line 112 of file detail.h.

Member Data Documentation

◆ expr

template<class Expr_T>
Expr_T micro_os_plus::micro_test_plus::detail::assertion< Expr_T >::expr {}

Definition at line 117 of file detail.h.

117{};

◆ location

Definition at line 122 of file detail.h.

122{};

The documentation for this struct was generated from the following file: