File: BoardGame.h

package info (click to toggle)
cppunit 1.12.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,040 kB
  • ctags: 3,332
  • sloc: cpp: 18,193; sh: 8,465; ansic: 2,940; makefile: 553; xml: 58; csh: 6
file content (18 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (10)
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