#include <Property.hh>

Public Member Functions | |
| virtual void | addFixed (const A &a, const B &b, const C &c) |
Private Member Functions | |
| virtual bool | accepts (const A &a, const B &b, const C &c) |
| virtual const std::string | classify (const A &a, const B &b, const C &c) |
| virtual void | generateInput (size_t n, A &a, B &b, C &c) |
| virtual bool | holdsFor (const A &a, const B &b, const C &c)=0 |
| virtual bool | isTrivialFor (const A &a, const B &b, const C &c) |
| bool | _accepts (const A &a, const B &b, const C &c, const Unit &d, const Unit &e) |
| const std::string | _classify (const A &a, const B &b, const C &c, const Unit &d, const Unit &e) |
| void | _generateInput (size_t n, A &a, B &b, C &c, Unit &d, Unit &e) |
| bool | _holdsFor (const A &a, const B &b, const C &c, const Unit &d, const Unit &e) |
| bool | _isTrivialFor (const A &a, const B &b, const C &c, const Unit &d, const Unit &e) |
This class models a property (see PropertyBase) with 3-argument input.
| A | the type of the first argument | |
| B | the type of the second argument | |
| C | the type of the third argument |
| void quickcheck::Property< A, B, C >::addFixed | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c | |||
| ) | [inline, virtual] |
3-argument counterpart of Property::addFixed.
| a | the first argument of the test case | |
| b | the second argument of the test case | |
| c | the third argument of the test case |
| bool quickcheck::Property< A, B, C >::accepts | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c | |||
| ) | [inline, private, virtual] |
Tells whether or not this property should accept given arguments.
3-argument counterpart of Property::accepts.
| a | the first argument | |
| b | the second argument | |
| c | the third argument |
| const std::string quickcheck::Property< A, B, C >::classify | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c | |||
| ) | [inline, private, virtual] |
Classifies input to allow observation of input distribution.
3-argument counterpart of Property::classify.
| a | the first argument | |
| b | the second argument | |
| c | the third argument |
| void quickcheck::Property< A, B, C >::generateInput | ( | size_t | n, | |
| A & | a, | |||
| B & | b, | |||
| C & | c | |||
| ) | [inline, private, virtual] |
Generates input randomly.
3-argument counterpart of Property::generateInput.
| n | the size hint | |
| a | the first argument | |
| b | the second argument | |
| c | the third argument |
| virtual bool quickcheck::Property< A, B, C >::holdsFor | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c | |||
| ) | [private, pure virtual] |
Tells whether or not this property holds for the given input.
3-argument counterpart of Property::holdsFor.
| a | the first argument | |
| b | the second argument | |
| c | the third argument |
| bool quickcheck::Property< A, B, C >::isTrivialFor | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c | |||
| ) | [inline, private, virtual] |
Tells whether or not the property is trivially true for the given input.
3-argument counterpart of Property::isTrivialFor.
| a | the first argument | |
| b | the second argument | |
| c | the third argument |
| bool quickcheck::Property< A, B, C >::_accepts | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c, | |||
| const Unit & | d, | |||
| const Unit & | e | |||
| ) | [inline, private] |
| const std::string quickcheck::Property< A, B, C >::_classify | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c, | |||
| const Unit & | d, | |||
| const Unit & | e | |||
| ) | [inline, private] |
| void quickcheck::Property< A, B, C >::_generateInput | ( | size_t | n, | |
| A & | a, | |||
| B & | b, | |||
| C & | c, | |||
| Unit & | d, | |||
| Unit & | e | |||
| ) | [inline, private] |
| bool quickcheck::Property< A, B, C >::_holdsFor | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c, | |||
| const Unit & | d, | |||
| const Unit & | e | |||
| ) | [inline, private] |
| bool quickcheck::Property< A, B, C >::_isTrivialFor | ( | const A & | a, | |
| const B & | b, | |||
| const C & | c, | |||
| const Unit & | d, | |||
| const Unit & | e | |||
| ) | [inline, private] |
1.5.6