micro-test-plus 4.1.0
µ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 >

This structure encapsulates both the expression being tested and its associated source location. Used internally by the framework to pass assertion data through the evaluation pipeline, enabling accurate reporting of where assertions occur in test code.

Template Parameters
Expr_TThe type of the expression being asserted.

Definition at line 117 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 122 of file detail.h.

122{};

◆ location

Definition at line 127 of file detail.h.

127{};

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