changes
This commit is contained in:
parent
e57fa2c36f
commit
0d42134d88
@ -4,7 +4,7 @@ public class EightQueensSolver {
|
|||||||
private Chessboard chessboard = new Chessboard();
|
private Chessboard chessboard = new Chessboard();
|
||||||
|
|
||||||
public EightQueensSolver(){
|
public EightQueensSolver(){
|
||||||
|
F
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
package fr.iut_fbleau.but3.dev6_2;
|
package fr.iut_fbleau.but3.dev6_2;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.*;
|
|
||||||
|
|
||||||
class ChessboardTest {
|
class ChessboardTest {
|
||||||
|
|
||||||
private Chessboard chessboard;
|
private Chessboard chessboard;
|
||||||
@ -20,7 +19,7 @@ class ChessboardTest {
|
|||||||
assertEquals(1, this.chessboard.getNumberOfQueen());
|
assertEquals(1, this.chessboard.getNumberOfQueen());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
/*@Test
|
||||||
void CaptureTiles(){
|
void CaptureTiles(){
|
||||||
int Qx = 4;
|
int Qx = 4;
|
||||||
int Qy = 4;
|
int Qy = 4;
|
||||||
@ -44,5 +43,5 @@ class ChessboardTest {
|
|||||||
}
|
}
|
||||||
assertEquals(0, this.chessboard.gameBoard[Qx][Qy]);
|
assertEquals(0, this.chessboard.gameBoard[Qx][Qy]);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user