Exemple #1
0
 @Test(groups = "1s")
 public void testSolution() {
   Solver s = modelit();
   long sl = 50;
   SearchMonitorFactory.limitSolution(s, sl);
   s.findAllSolutions();
   long sc = s.getMeasures().getSolutionCount();
   Assert.assertEquals(sc, sl);
 }