@Test
public void testQuiesce1() {
// Taking here is a bad idea... crafty plays Nf3 here...
BitBoard bitBoard = FENUtils.getBoard("r5nk/r4ppp/r7/b7/8/R7/R5PP/R5NK w - - 0 1");
ChessEngine engine = new ChessEngine();
System.out.println(engine.getPreferredMove(bitBoard));
// engine.setDepth(3);
// engine.setQuiesce(true);
// assertFalse("A4A5".equals(engine.getPreferredMove(bitBoard)));
// But, now with an extra rook, it's a good idea.. crafty find Rxa5 at depth 11
bitBoard = FENUtils.getBoard("r5nk/r4ppp/r7/b7/R7/R7/R5PP/R5NK w - - 0 1");
engine.setQuiesce(true);
// assertEquals("A4A5", engine.getPreferredMove(bitBoard));
}