Skip to content
Snippets Groups Projects
Commit 48a1a068 authored by LABOUREL Arnaud's avatar LABOUREL Arnaud
Browse files

Changement visibilité des méthodes de Grid pour faciliter les tests

parent 15ab66ec
Branches
Tags
No related merge requests found
...@@ -131,7 +131,7 @@ public class Grid implements Iterable<Cell> { ...@@ -131,7 +131,7 @@ public class Grid implements Iterable<Cell> {
* </ul> * </ul>
*/ */
// TODO: Écrire une version correcte de cette méthode. // TODO: Écrire une version correcte de cette méthode.
void updateToNextGeneration() { public void updateToNextGeneration() {
} }
...@@ -139,7 +139,7 @@ public class Grid implements Iterable<Cell> { ...@@ -139,7 +139,7 @@ public class Grid implements Iterable<Cell> {
* Sets all {@link Cell}s in this {@code Grid} as dead. * Sets all {@link Cell}s in this {@code Grid} as dead.
*/ */
// TODO: Écrire une version correcte de cette méthode. // TODO: Écrire une version correcte de cette méthode.
void clear() { public void clear() {
} }
...@@ -150,7 +150,7 @@ public class Grid implements Iterable<Cell> { ...@@ -150,7 +150,7 @@ public class Grid implements Iterable<Cell> {
* @throws NullPointerException if {@code random} is {@code null}. * @throws NullPointerException if {@code random} is {@code null}.
*/ */
// TODO: Écrire une version correcte de cette méthode. // TODO: Écrire une version correcte de cette méthode.
void randomGeneration(Random random) { public void randomGeneration(Random random) {
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment