TraitsTest.h revision 6b15695578f07a3f72c4c9475c1a261a3021472a
#ifndef __TRAITSTEST_H
#define __TRAITSTEST_H
//
// This example shows how to use TS_ASSERT_EQUALS for your own classes
//
#include <cxxtest/TestSuite.h>
#include <cxxtest/ValueTraits.h>
//
// Define your class with operator==
//
#include <stdio.h>
#include <string.h>
{
char _name[128];
{
}
};
//
// Instantiate CxxTest::ValueTraits<*your class*>
// Note: Most compilers do not require that you define both
// ValueTraits<const T> and ValueTraits<T>, but some do.
//
{
{
char _asString[256];
};
}
//
// Here's how it works
//
{
void testPets()
{
#ifdef _CXXTEST_HAVE_STD
#endif // _CXXTEST_HAVE_STD
}
};
#endif // __TRAITSTEST_H