@@ -0,0 +1,826 @@
+package com.github.sbugat.nqueens.solvers.bruteforce;%0A%0Aimport org.junit.Test;%0A%0Aimport com.github.sbugat.nqueens.GenericNQueensSolverTemplateTest;%0A%0A/**%0A * Brute-force N queens solver test.%0A * %0A * @author Sylvain Bugat%0A * %0A */%0Apublic final class BruteForceNQueensSolverGridBitFlagsTest extends GenericNQueensSolverTemplateTest %7B%0A%0A%09/** Test only with a size of 6 because this algorithm is slow. */%0A%09private static final int MAXIMUM_TESTED_CHESSBOARD_SIZE = 7;%0A%0A%09public BruteForceNQueensSolverGridBitFlagsTest() %7B%0A%0A%09%09super(new BruteForceNQueensSolverGridBitFlags(MAXIMUM_TESTED_CHESSBOARD_SIZE, false), MAXIMUM_TESTED_CHESSBOARD_SIZE);%0A%09%7D%0A%0A%09@Test(expected = IllegalArgumentException.class)%0A%09public void bruteForceNQueensSolverColumnBitFlagsInvalidTest() %7B%0A%0A%09%09new BruteForceNQueensSolverGridBitFlags(Integer.SIZE + 1, false);%0A%09%7D%0A%7D%0A

Add test