This commit is contained in:
Victor 2024-06-21 23:40:19 +02:00
parent e57fa2c36f
commit 0d42134d88
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,7 @@ public class EightQueensSolver {
private Chessboard chessboard = new Chessboard(); private Chessboard chessboard = new Chessboard();
public EightQueensSolver(){ public EightQueensSolver(){
F
} }

View File

@ -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]);
} }
} }*/
} }