aima.test.search.nqueens
Class NQueensBoardTest

java.lang.Object
  extended by TestCase
      extended by aima.test.search.nqueens.NQueensBoardTest

public class NQueensBoardTest
extends TestCase


Constructor Summary
NQueensBoardTest()
           
 
Method Summary
 void setUp()
           
 void testAttack2()
           
 void testAttack3()
           
 void testAttack4()
           
 void testAttack6()
           
 void testBasics()
           
 void testBoardDisplay()
           
 void testCornerDiagonalAttack()
           
 void testCornerQueenAttack1()
           
 void testCornerQueenAttack2()
           
 void testDontPlaceTwoQueensOnOneSquare()
           
 void testEdgeQueenAttack()
           
 void testEquality()
           
 void testMidBoardDiagonalAttack()
           
 void testMoveNonExistentQueen()
           
 void testMoveQueen()
           
 void testMultipleQueens()
           
 void testPrint()
           
 void testRemoveNonExistentQueen()
           
 void testRemoveQueen()
           
 void testSimpleDiagonalAttack()
           
 void testSimpleHorizontalAttack()
           
 void testSimpleVerticalAttack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NQueensBoardTest

public NQueensBoardTest()
Method Detail

setUp

public void setUp()

testBasics

public void testBasics()

testCornerQueenAttack1

public void testCornerQueenAttack1()

testCornerQueenAttack2

public void testCornerQueenAttack2()

testEdgeQueenAttack

public void testEdgeQueenAttack()

testAttack2

public void testAttack2()

testAttack3

public void testAttack3()

testAttack4

public void testAttack4()

testMidBoardDiagonalAttack

public void testMidBoardDiagonalAttack()

testCornerDiagonalAttack

public void testCornerDiagonalAttack()

testAttack6

public void testAttack6()

testRemoveQueen

public void testRemoveQueen()

testMoveQueen

public void testMoveQueen()

testMoveNonExistentQueen

public void testMoveNonExistentQueen()

testRemoveNonExistentQueen

public void testRemoveNonExistentQueen()

testEquality

public void testEquality()

testPrint

public void testPrint()

testDontPlaceTwoQueensOnOneSquare

public void testDontPlaceTwoQueensOnOneSquare()

testSimpleHorizontalAttack

public void testSimpleHorizontalAttack()

testSimpleVerticalAttack

public void testSimpleVerticalAttack()

testSimpleDiagonalAttack

public void testSimpleDiagonalAttack()

testMultipleQueens

public void testMultipleQueens()

testBoardDisplay

public void testBoardDisplay()