Boost Test Library: unit_test_example4 example

Boost.Test > Examples > unit_test_example4

# The Unit Test Framework example 4

Rationale: | to demonstrate how to construct parameterized test case based on free function test case and where to store the parameters
Input: | This example does not require any input
Output: | The output depends on whether or not your system support setting test case timeout. For Win32 it will look like this: Running 1 test case... .../unit_test_example4.cpp(20): error in "check_string": test s.substr( 0, 3 ) == "hdr" failed [3 != hdr] *** No errors detected
Source: | unit_test_example4.cpp