test-add(BOOST_TEST_CASE(::boost::bind(fn, 1)));
I just tried this and MSVC7 tells me:
test_charset.cpp(50) : error C2664:
'boost::unit_test_framework::test_case
*boost::unit_test_framework::create_test_case(void (__cdecl
*)(void),std::string)' : cannot convert parameter 1 from
I guess it would help if the syntax for all four possibilities
(normal function, templated function, normal function object templated
function object) made it into the Boost.Test documentation.
Syntax is basically the same for all simple (not parameterized tests) cases.
Though I admit