AMDG Andrew Leer wrote:
I'm reading this article (http://www.ibm.com/developerworks/aix/library/au-ctools1_boost/?S_TACT=105AGY20&S_CMP=HP) on the Boost Unit Testing Framework.
However I'm having a bit of trouble with the first example, my guess is that they left something out (something that would be obvious to hardcore C++ coders) as IBM often does in their articles. Another possibility is that my Visual Studio 2005 C++ compiler is just too old for the example.
This should work with recent versions of Boost. However, with
older versions you may need
#include
#define _MYSTRING #define BOOST_TEST_MODULE stringtest #include
#include "stdafx.h" //#include "mystring.h" BOOST_AUTO_TEST_SUITE (stringtest) // name of the test suite is stringtest
In Christ, Steven Watanabe