Unit Test Case for classes

How to write unit test case to check functionality of classes ??
I am using cppunit framework for unit test.
class A:
{
int test(char *v,int x);
bool (string s);
char (char c);
};
I want to test functionality of each functions.
Topic archived. No new replies allowed.