@Test
public void testAtariDetection() {

	String[] diagram = {
			".O#..",
			"O#O#.",
			"...#.",
			".O.#.",
			".....",
	};
	board.setUpProblem(diagram, BLACK);
	long correctHash = 0;
	correctHash ^= POINT_HASHES[ENEMY_IN_ATARI][0];
	correctHash ^= POINT_HASHES[FRIENDLY_3_OR_MORE_LIBERTIES][2];
	assertEquals(correctHash, getHash(board, board.getCoordinateSystem().at("c3"), 2, NO_POINT));
	correctHash ^= POINT_HASHES[FRIENDLY_IN_ATARI][4];
	correctHash ^= POINT_HASHES[FRIENDLY_3_OR_MORE_LIBERTIES][5];
	correctHash ^= POINT_HASHES[ENEMY_3_OR_MORE_LIBERTIES][6];
	correctHash ^= POINT_HASHES[FRIENDLY_3_OR_MORE_LIBERTIES][7];
	assertEquals(correctHash, getHash(board, board.getCoordinateSystem().at("c3"), 5, NO_POINT));
	assertEquals(correctHash, getHash(board, board.getCoordinateSystem().at("c3"), 6, NO_POINT));
	correctHash=0;
	correctHash ^= POINT_HASHES[OFF_BOARD][0];
	correctHash ^= POINT_HASHES[OFF_BOARD][1];
	correctHash ^= POINT_HASHES[ENEMY_IN_ATARI][2];
	correctHash ^= POINT_HASHES[ENEMY_2_LIBERTIES][3];
	assertEquals(correctHash, getHash(board, board.getCoordinateSystem().at("a5"), 2, NO_POINT));
	correctHash ^= POINT_HASHES[OFF_BOARD][4];
	correctHash ^= POINT_HASHES[OFF_BOARD][5];
	correctHash ^= POINT_HASHES[OFF_BOARD][6];
	correctHash ^= POINT_HASHES[FRIENDLY_IN_ATARI][7];
	assertEquals(correctHash, getHash(board, board.getCoordinateSystem().at("a5"), 3, NO_POINT));
}