summaryrefslogtreecommitdiff
path: root/examples/hierarchy/BoardGame.h
blob: d1864c523cf56cc17ce5192a74fddad42cfe204d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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