File: BoardGame.h

package info (click to toggle)
cppunit 1.13.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,980 kB
  • ctags: 3,579
  • sloc: cpp: 18,338; sh: 14,983; ansic: 3,011; makefile: 423; xml: 58; csh: 6
file content (18 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (12)
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