OKlibrary  0.2.1.6
OKlib::TestExecutionTools::TestSymmetry< Range, BinaryPredicate > Class Template Reference

Tests whether a binary predicate on a range of objects is symmetric. More...

#include <RelationTests.hpp>

Inheritance diagram for OKlib::TestExecutionTools::TestSymmetry< Range, BinaryPredicate >:
OKlib::TestSystem::Test

List of all members.

Public Types

typedef TestSymmetry test_type

Public Member Functions

 TestSymmetry (const Range &r, const BinaryPredicate p)

Detailed Description

template<typename Range, class BinaryPredicate>
class OKlib::TestExecutionTools::TestSymmetry< Range, BinaryPredicate >

Tests whether a binary predicate on a range of objects is symmetric.

Todo:
Error reporting: report the indices.

Definition at line 105 of file RelationTests.hpp.


Member Typedef Documentation

template<typename Range , class BinaryPredicate >
typedef TestSymmetry OKlib::TestExecutionTools::TestSymmetry< Range, BinaryPredicate >::test_type

Reimplemented from OKlib::TestSystem::Test.

Definition at line 106 of file RelationTests.hpp.


Constructor & Destructor Documentation

template<typename Range , class BinaryPredicate >
OKlib::TestExecutionTools::TestSymmetry< Range, BinaryPredicate >::TestSymmetry ( const Range &  r,
const BinaryPredicate  p 
) [inline]

Definition at line 107 of file RelationTests.hpp.


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