csp = new MapCSP();
}
@Test
public void testBackTrackingSearch() {
Assignment results = new BacktrackingStrategy().solve(csp);
Assert.assertNotNull(results);
Assert.assertEquals(MapCSP.GREEN, results.getAssignment(MapCSP.WA));
Assert.assertEquals(MapCSP.RED, results.getAssignment(MapCSP.NT));
Assert.assertEquals(MapCSP.BLUE, results.getAssignment(MapCSP.SA));
Assert.assertEquals(MapCSP.GREEN, results.getAssignment(MapCSP.Q));
Assert.assertEquals(MapCSP.RED, results.getAssignment(MapCSP.NSW));
Assert.assertEquals(MapCSP.GREEN, results.getAssignment(MapCSP.V));
Assert.assertEquals(MapCSP.RED, results.getAssignment(MapCSP.T));
}