def test_checkUnavailableSquare_UnavailableSquaresEqualToPassed_returnsTrue(self):
		queenSolver = QueenSolver()
		square = Square(ord('A'),1)
		queenSolver.addUnavailableSquare(square)
		square2 = Square(ord('A'),1)
		isUnavailable = queenSolver.checkUnavailableSquare(square2)
		self.assertTrue(isUnavailable)
 def test_checkUnavailableSquare_SameUnavailableSquaresAsPassed_returnsTrue(
         self):
     queenSolver = QueenSolver()
     square = Square(ord('A'), 1)
     queenSolver.addUnavailableSquare(square)
     isUnavailable = queenSolver.checkUnavailableSquare(square)
     self.assertTrue(isUnavailable)
	def test_checkUnavailableSquare_SeverUnavailableSquaresOneEqualToPassed_returnsTrue(self):
		queenSolver = QueenSolver()
		square = Square(ord('A'),1)
		queenSolver.addUnavailableSquare(square)
		square = Square(ord('B'),2)
		queenSolver.addUnavailableSquare(square)
		square = Square(ord('C'),3)
		queenSolver.addUnavailableSquare(square)
		square = Square(ord('C'),4)
		queenSolver.addUnavailableSquare(square)
		square = Square(ord('D'),5)
		queenSolver.addUnavailableSquare(square)
		square2 = Square(ord('C'),4)
		isUnavailable = queenSolver.checkUnavailableSquare(square2)
		self.assertTrue(isUnavailable)
 def test_checkUnavailableSquare_SeverUnavailableSquaresOneEqualToPassed_returnsTrue(
         self):
     queenSolver = QueenSolver()
     square = Square(ord('A'), 1)
     queenSolver.addUnavailableSquare(square)
     square = Square(ord('B'), 2)
     queenSolver.addUnavailableSquare(square)
     square = Square(ord('C'), 3)
     queenSolver.addUnavailableSquare(square)
     square = Square(ord('C'), 4)
     queenSolver.addUnavailableSquare(square)
     square = Square(ord('D'), 5)
     queenSolver.addUnavailableSquare(square)
     square2 = Square(ord('C'), 4)
     isUnavailable = queenSolver.checkUnavailableSquare(square2)
     self.assertTrue(isUnavailable)
	def test_checkUnavailableSquare_NoUnavailableSquares_returnsFalse(self):
		queenSolver = QueenSolver()
		square = Square(ord('A'),1)
		isUnavailable = queenSolver.checkUnavailableSquare(square)
		self.assertFalse(isUnavailable)
 def test_checkUnavailableSquare_NoUnavailableSquares_returnsFalse(self):
     queenSolver = QueenSolver()
     square = Square(ord('A'), 1)
     isUnavailable = queenSolver.checkUnavailableSquare(square)
     self.assertFalse(isUnavailable)