ARB
Public Member Functions | List of all members
arb_test::predicate< FUNC > Class Template Reference

#include <test_unit.h>

Public Member Functions

 predicate (FUNC pred_, const char *name)
 
 predicate (FUNC pred_, const char *name, const char *inverse)
 
template<typename T >
bool matches (const copy< T > &v1, const copy< T > &v2) const
 
const chardescribe (bool expected, bool got) const
 

Detailed Description

template<typename FUNC>
class arb_test::predicate< FUNC >

Definition at line 615 of file test_unit.h.

Constructor & Destructor Documentation

template<typename FUNC>
arb_test::predicate< FUNC >::predicate ( FUNC  pred_,
const char name 
)
inline

Definition at line 619 of file test_unit.h.

template<typename FUNC>
arb_test::predicate< FUNC >::predicate ( FUNC  pred_,
const char name,
const char inverse 
)
inline

Definition at line 620 of file test_unit.h.

Member Function Documentation

template<typename FUNC>
template<typename T >
bool arb_test::predicate< FUNC >::matches ( const copy< T > &  v1,
const copy< T > &  v2 
) const
inline

Definition at line 622 of file test_unit.h.

Referenced by arb_test::predicate_matcher< T, FUNC >::matches().

template<typename FUNC>
const char* arb_test::predicate< FUNC >::describe ( bool  expected,
bool  got 
) const
inline

Definition at line 623 of file test_unit.h.

Referenced by arb_test::predicate_matcher< T, FUNC >::relation().


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