aima.test.gametest
Class TicTacToeTest

java.lang.Object
  extended by TestCase
      extended by aima.test.gametest.TicTacToeTest

public class TicTacToeTest
extends TestCase


Constructor Summary
TicTacToeTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void tesMiniMax4()
           
 void testAllCombinationsOfSuccessLines()
           
 void testAlphaBeta()
           
 void testAlphaBetaMinValueCalculation()
           
 void testCalculateUtilityOfABoard()
           
 void testCreation()
           
 void testGameStateEquality()
           
 void testGenerateSuccessors()
           
 void testGivenABoardNUmberOfPossibleMovesCalculatedCorrectly()
           
 void testMarkingAsSquareMakesItNonEmpty()
           
 void testMiniMax()
           
 void testMiniMax15()
           
 void testMiniMax2()
           
 void testMiniMax3()
           
 void testMiniMax6()
           
 void testMiniMax7()
           
 void testMovingBumpsLevelByOne()
           
 void testOnCreationBoardIsEmpty()
           
 void testTerminalStateDetection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicTacToeTest

public TicTacToeTest(java.lang.String name)
Method Detail

setUp

public void setUp()

testCreation

public void testCreation()

testOnCreationBoardIsEmpty

public void testOnCreationBoardIsEmpty()

testMovingBumpsLevelByOne

public void testMovingBumpsLevelByOne()

testMarkingAsSquareMakesItNonEmpty

public void testMarkingAsSquareMakesItNonEmpty()

testAllCombinationsOfSuccessLines

public void testAllCombinationsOfSuccessLines()

testGivenABoardNUmberOfPossibleMovesCalculatedCorrectly

public void testGivenABoardNUmberOfPossibleMovesCalculatedCorrectly()

testCalculateUtilityOfABoard

public void testCalculateUtilityOfABoard()

testGenerateSuccessors

public void testGenerateSuccessors()

testGameStateEquality

public void testGameStateEquality()

testMiniMax

public void testMiniMax()

testMiniMax2

public void testMiniMax2()

testMiniMax3

public void testMiniMax3()

testMiniMax7

public void testMiniMax7()

tesMiniMax4

public void tesMiniMax4()

testTerminalStateDetection

public void testTerminalStateDetection()

testMiniMax15

public void testMiniMax15()

testMiniMax6

public void testMiniMax6()

testAlphaBeta

public void testAlphaBeta()

testAlphaBetaMinValueCalculation

public void testAlphaBetaMinValueCalculation()