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

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

#include <RelationTests.hpp>

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

List of all members.

Public Types

typedef TestAntisymmetry test_type

Public Member Functions

 TestAntisymmetry (const Range &r, const BinaryPredicate p)

Detailed Description

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

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

Todo:
Error reporting: report the indices.

Definition at line 151 of file RelationTests.hpp.


Member Typedef Documentation

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

Reimplemented from OKlib::TestSystem::Test.

Definition at line 152 of file RelationTests.hpp.


Constructor & Destructor Documentation

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

Definition at line 153 of file RelationTests.hpp.


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