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

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

#include <RelationTests.hpp>

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

List of all members.

Public Types

typedef TestAsymmetry test_type

Public Member Functions

 TestAsymmetry (const Range &r, const BinaryPredicate p)

Detailed Description

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

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

Todo:
Error reporting: report the indices.

Definition at line 128 of file RelationTests.hpp.


Member Typedef Documentation

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

Reimplemented from OKlib::TestSystem::Test.

Definition at line 129 of file RelationTests.hpp.


Constructor & Destructor Documentation

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

Definition at line 130 of file RelationTests.hpp.


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