Can someone write step by step what to do to start using testing facilities from boost? For example I have a class:
class A
{
public:
int multiplyByTwo(const int input)
{
return input * 2;
}
};
and I would like to set test cases for multiplyByTwo fnc. How? In which files? What steps do I need to perform in order to run it?
Someone already has written this down for you – there is a ‘hello world’ introduction in the Boost docs.
For your case, I think it should look something like this:
EDIT:
There is a slightly more extensive tutorial here that should help when you start to taxonomize your tests.