refactor: enhance code documentation and remove unnecessary greeting outputs in tests
This commit is contained in:
@@ -10,7 +10,7 @@ public class TestBlocParticuliers {
|
||||
@Test
|
||||
public void blocParticuliers() {
|
||||
System.out.println("TEST BLOC PARTICULIERS : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(4);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestBlocRectangle {
|
||||
@Test
|
||||
public void blocRectangle() {
|
||||
System.out.println("TEST BLOC RECTANGLE : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(15);
|
||||
ArrayList<Symbole> symboles = new ArrayList<>();
|
||||
|
||||
@@ -11,7 +11,7 @@ public class TestDoublonBloc {
|
||||
@Test
|
||||
public void testBloc() {
|
||||
System.out.println("TEST DOUBLON BLOC : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
sudoku.getGrille().setSymbolesPossibles(new ArrayList<>(Arrays.asList(
|
||||
|
||||
@@ -11,7 +11,7 @@ public class TestDoublonColonne {
|
||||
@Test
|
||||
public void testColonne() {
|
||||
System.out.println("TEST DOUBLON COLONNE : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
sudoku.getGrille().setSymbolesPossibles(new ArrayList<>(Arrays.asList(
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestDoublonLigne {
|
||||
@Test
|
||||
public void testDoublonLigne() {
|
||||
System.out.println("TEST DOUBLON LIGNE : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
sudoku.getGrille().setSymbolesPossibles(new ArrayList<>(Arrays.asList(
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestResolveurBacktraceSimpleSudoku16 {
|
||||
@Test
|
||||
public void testResolution() {
|
||||
System.out.println("TEST RESOLVEUR BACKTRACE SIMPLE : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(16);
|
||||
sudoku.getGrille().setSymbolesPossibles(new ArrayList<>(Arrays.asList(
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// @Test
|
||||
// public void testResolution() {
|
||||
// System.out.println("TEST RESOLVEUR BACKTRACE SIMPLE : ");
|
||||
// System.out.println(new App().getGreeting());
|
||||
//
|
||||
// // Create a new Sudoku
|
||||
// Sudoku sudoku = new Sudoku(25);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestResolveurBacktraceSimpleSudoku9 {
|
||||
@Test
|
||||
public void testResolution() {
|
||||
System.out.println("TEST RESOLVEUR BACKTRACE SIMPLE : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
sudoku.getGrille().setSymbolesPossibles(new ArrayList<>(Arrays.asList(
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestSudokuEmojis {
|
||||
@Test
|
||||
public void sudokuEmojis() {
|
||||
System.out.println("TEST SUDOKU EMOJIS : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestSudokuLettres {
|
||||
@Test
|
||||
public void sudokuLettres() {
|
||||
System.out.println("TEST SUDOKU LETTRES : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestSudokusString {
|
||||
@Test
|
||||
public void sudokuString() {
|
||||
System.out.println("TEST SUDOKU STRING : ");
|
||||
System.out.println(new App().getGreeting());
|
||||
|
||||
// Create a new Sudoku
|
||||
Sudoku sudoku = new Sudoku(9);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user