# CurrentContext Class Reference

`#include <mat_checks.h>`

List of all members.

## Public Member Functions
| CurrentContext (const char *name, int idx)
## Static Public Member Functions
static std::string | format_context (int ln=-1)
template<typename Expected , typename Actual >
static void | CheckEqualEx (UnitTest::TestResults &results, Expected const &expected, Actual const &actual, UnitTest::TestDetails const &details)
template<typename Expected , typename Actual , typename Tolerance >
static void | CheckCloseEx (UnitTest::TestResults &results, Expected const &expected, Actual const &actual, Tolerance const &tolerance, UnitTest::TestDetails const &details)
## Static Public Attributes
static const int | max_trial_count = 3

## Detailed Description

CHECK_*_EX macros should be used only in blocks having an instance of this class (which sets the globals for error reporting).

The documentation for this class was generated from the following files:

- mat_checks.h
- mat_checks.cpp