Assert.assertEquals(true, search.isCutOff(actions));
}
@Test
public void testFailure() throws Exception {
Problem problem = new Problem(new NQueensBoard(3),
NQueensFunctionFactory.getIActionsFunction(),
NQueensFunctionFactory.getResultFunction(),
new NQueensGoalTest());
DepthLimitedSearch search = new DepthLimitedSearch(5);
SearchAgent agent = new SearchAgent(problem, search);