aboutsummaryrefslogtreecommitdiff
path: root/test/ch
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2016-03-07 17:08:07 +0100
committerPacien TRAN-GIRARD2016-03-07 17:10:53 +0100
commit69ec741acb840c444471579d53aafd94eae80795 (patch)
tree41a355ea040c4411d77f0aaefee44ec9e3ce3a20 /test/ch
parent66b79d98f7014a811c12a3ab2ea313fb47605a32 (diff)
downloadxblast-69ec741acb840c444471579d53aafd94eae80795.tar.gz
Reformat code
Diffstat (limited to 'test/ch')
-rw-r--r--test/ch/epfl/xblast/namecheck/NameCheck03.java13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/ch/epfl/xblast/namecheck/NameCheck03.java b/test/ch/epfl/xblast/namecheck/NameCheck03.java
index 9cad907..fc2a4b5 100644
--- a/test/ch/epfl/xblast/namecheck/NameCheck03.java
+++ b/test/ch/epfl/xblast/namecheck/NameCheck03.java
@@ -1,16 +1,12 @@
1package ch.epfl.xblast.namecheck; 1package ch.epfl.xblast.namecheck;
2 2
3import java.util.List;
4
5import ch.epfl.cs108.Sq; 3import ch.epfl.cs108.Sq;
6import ch.epfl.xblast.ArgumentChecker; 4import ch.epfl.xblast.*;
7import ch.epfl.xblast.Cell;
8import ch.epfl.xblast.Direction;
9import ch.epfl.xblast.PlayerID;
10import ch.epfl.xblast.SubCell;
11import ch.epfl.xblast.server.Bomb; 5import ch.epfl.xblast.server.Bomb;
12import ch.epfl.xblast.server.Player; 6import ch.epfl.xblast.server.Player;
13 7
8import java.util.List;
9
14/** 10/**
15 * Classe abstraite utilisant tous les éléments de l'étape 3, pour essayer de 11 * Classe abstraite utilisant tous les éléments de l'étape 3, pour essayer de
16 * garantir que ceux-ci ont le bon nom et les bons types. Attention, ceci n'est 12 * garantir que ceux-ci ont le bon nom et les bons types. Attention, ceci n'est
@@ -18,8 +14,8 @@ import ch.epfl.xblast.server.Player;
18 * 14 *
19 * @author EPFL 15 * @author EPFL
20 */ 16 */
21
22abstract class NameCheck03 { 17abstract class NameCheck03 {
18
23 void checkArgumentChecker() { 19 void checkArgumentChecker() {
24 ArgumentChecker.requireNonNegative(10); 20 ArgumentChecker.requireNonNegative(10);
25 } 21 }
@@ -89,4 +85,5 @@ abstract class NameCheck03 {
89 List<Sq<Sq<Cell>>> x = b.explosion(); 85 List<Sq<Sq<Cell>>> x = b.explosion();
90 System.out.println(String.valueOf(t) + x); 86 System.out.println(String.valueOf(t) + x);
91 } 87 }
88
92} 89}