|  | Home | Libraries | People | FAQ | More | 
Evaluate a test condition.
template< class Condition> bool expect( Condition const& shouldBeTrue);
This function provides improved logging by incorporating the file name and line number into the reported output on failure, as well as additional text specified by the caller.
| Name | Description | 
|---|---|
| 
                       | The condition to test. The condition is evaluated in a boolean context. | 
| 
                       | Optional added text to output on a failure. | 
| 
                       | The source code file where the test failed. | 
| 
                       | The source code line number where the test failed. | 
            true if the test condition
            indicates success.