cppunit/examples/hierarchy/BoardGame.h
2011-10-29 15:07:08 +10:00

19 lines
378 B
C++

#ifndef __BOARDGAME_H__
#define __BOARDGAME_H__
/** Example class to show hierarchy testing.
*
* Shamelessly ripped and adapted from
* <a href="http://c2.com/cgi/wiki?ClassHierarchyTestingInCppUnit">
* ClassHierarchyTestingInCppUnit</a>
*
*/
class BoardGame {
public:
/// expected to return true
virtual bool reset();
virtual ~BoardGame();
};
#endif