From 0d42134d8864504dbf81b64fc7bef78bde22d3e7 Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 21 Jun 2024 23:40:19 +0200 Subject: [PATCH] changes --- .../java/fr/iut_fbleau/but3/dev6_2/EightQueensSolver.java | 2 +- .../java/fr/iut_fbleau/but3/dev6_2/ChessboardTest.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/fr/iut_fbleau/but3/dev6_2/EightQueensSolver.java b/src/main/java/fr/iut_fbleau/but3/dev6_2/EightQueensSolver.java index faa493c..35f9311 100644 --- a/src/main/java/fr/iut_fbleau/but3/dev6_2/EightQueensSolver.java +++ b/src/main/java/fr/iut_fbleau/but3/dev6_2/EightQueensSolver.java @@ -4,7 +4,7 @@ public class EightQueensSolver { private Chessboard chessboard = new Chessboard(); public EightQueensSolver(){ - + F } diff --git a/src/test/java/fr/iut_fbleau/but3/dev6_2/ChessboardTest.java b/src/test/java/fr/iut_fbleau/but3/dev6_2/ChessboardTest.java index a04223b..f9182f4 100644 --- a/src/test/java/fr/iut_fbleau/but3/dev6_2/ChessboardTest.java +++ b/src/test/java/fr/iut_fbleau/but3/dev6_2/ChessboardTest.java @@ -1,10 +1,9 @@ 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.Test; -import static org.junit.jupiter.api.Assertions.*; - class ChessboardTest { private Chessboard chessboard; @@ -20,7 +19,7 @@ class ChessboardTest { assertEquals(1, this.chessboard.getNumberOfQueen()); } - @Test + /*@Test void CaptureTiles(){ int Qx = 4; int Qy = 4; @@ -44,5 +43,5 @@ class ChessboardTest { } assertEquals(0, this.chessboard.gameBoard[Qx][Qy]); } - } + }*/ } \ No newline at end of file