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

Tests whether a binary predicate on a range of objects fulfils trichotomy. More...

#include <RelationTests.hpp>

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

List of all members.

Public Types

typedef TestTrichotomy test_type

Public Member Functions

 TestTrichotomy (const Range &r, const BinaryPredicate p)

Detailed Description

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

Tests whether a binary predicate on a range of objects fulfils trichotomy.

Todo:
Error reporting: report the indices.

Definition at line 199 of file RelationTests.hpp.


Member Typedef Documentation

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

Reimplemented from OKlib::TestSystem::Test.

Definition at line 200 of file RelationTests.hpp.


Constructor & Destructor Documentation

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

Definition at line 201 of file RelationTests.hpp.


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