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

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

#include <RelationTests.hpp>

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

List of all members.

Public Types

typedef TestQuasiorder test_type

Public Member Functions

 TestQuasiorder (const Range &r, const BinaryPredicate p)

Detailed Description

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

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

Todo:
Error reporting: report the indices.

Definition at line 251 of file RelationTests.hpp.


Member Typedef Documentation

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

Reimplemented from OKlib::TestSystem::Test.

Definition at line 252 of file RelationTests.hpp.


Constructor & Destructor Documentation

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

Definition at line 253 of file RelationTests.hpp.


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