summaryrefslogtreecommitdiff
path: root/test/testharness.h
diff options
context:
space:
mode:
authorMatt Liberty <matt.liberty@gmail.com>2013-10-27 11:17:28 -0700
committerMatt Liberty <matt.liberty@gmail.com>2013-10-27 11:17:28 -0700
commit1004c8553b50893c075977d5ea34c79d00122fe3 (patch)
tree81a829283af069987066313ce624832659ceb80c /test/testharness.h
parent40da2cddafd0126bb6964383b4ac402bc37f3e59 (diff)
Add option to specify opponent player type in self play testing
Diffstat (limited to 'test/testharness.h')
-rw-r--r--test/testharness.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/testharness.h b/test/testharness.h
index aa3e139..c8dee3d 100644
--- a/test/testharness.h
+++ b/test/testharness.h
@@ -14,7 +14,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
@@ -53,10 +53,10 @@ public:
// Enumerates all racks using a full bag
void enumerateAll();
-
+
// Compute bingo stems ala Baron's MMPR
void bingos();
-
+
// Loads game from the file, and tests the final position,
// and cleans up the game.
void testFromFile(const QString &file);
@@ -86,7 +86,7 @@ public:
void selfPlayGames(unsigned int seed, unsigned int reps, bool reports, bool playability);
void selfPlayGame(unsigned int gameNumber, bool reports, bool playability);
-
+
// Sets the positions that will be tested.
void setPositions(const QStringList &positions)
{
@@ -108,6 +108,7 @@ protected:
QStringList m_positions;
Quackle::DataManager m_dataManager;
Quackle::ComputerPlayer *m_computerPlayerToTest;
+ Quackle::ComputerPlayer *m_computerPlayer2ToTest;
bool m_quiet;
QString m_gamesDir;
QString m_lexicon;