introduce bitloops
This commit is contained in:
@@ -162,14 +162,14 @@ public class MainTest {
|
||||
var mask = swe.generateMask(opts.pop, opts.gens, Math.max(opts.pop, (int) Math.floor(opts.pop * 1.5)));
|
||||
val clued = new Clued(mask);
|
||||
val test = clued.gridToString();
|
||||
val RESULT = " 3 300\n" +
|
||||
" 1 \n" +
|
||||
" 1 \n" +
|
||||
" 3 0 \n" +
|
||||
" 31 \n" +
|
||||
" 1 \n" +
|
||||
" 1 2\n" +
|
||||
"21 22 3";
|
||||
val RESULT = "001 \n" +
|
||||
" 3 3\n" +
|
||||
" 3\n" +
|
||||
" 3\n" +
|
||||
" 21 1 \n" +
|
||||
" 3 \n" +
|
||||
"221 1 \n" +
|
||||
"1 22";
|
||||
|
||||
Assertions.assertEquals(18, clued.clueCount(), "Found seed changed");
|
||||
Assertions.assertEquals(RESULT, test, "Found seed changed");
|
||||
|
||||
Reference in New Issue
Block a user