diff options
author | Pacien TRAN-GIRARD | 2016-03-07 17:08:07 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2016-03-07 17:10:53 +0100 |
commit | 69ec741acb840c444471579d53aafd94eae80795 (patch) | |
tree | 41a355ea040c4411d77f0aaefee44ec9e3ce3a20 /test/ch/epfl | |
parent | 66b79d98f7014a811c12a3ab2ea313fb47605a32 (diff) | |
download | xblast-69ec741acb840c444471579d53aafd94eae80795.tar.gz |
Reformat code
Diffstat (limited to 'test/ch/epfl')
-rw-r--r-- | test/ch/epfl/xblast/namecheck/NameCheck03.java | 13 |
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 @@ | |||
1 | package ch.epfl.xblast.namecheck; | 1 | package ch.epfl.xblast.namecheck; |
2 | 2 | ||
3 | import java.util.List; | ||
4 | |||
5 | import ch.epfl.cs108.Sq; | 3 | import ch.epfl.cs108.Sq; |
6 | import ch.epfl.xblast.ArgumentChecker; | 4 | import ch.epfl.xblast.*; |
7 | import ch.epfl.xblast.Cell; | ||
8 | import ch.epfl.xblast.Direction; | ||
9 | import ch.epfl.xblast.PlayerID; | ||
10 | import ch.epfl.xblast.SubCell; | ||
11 | import ch.epfl.xblast.server.Bomb; | 5 | import ch.epfl.xblast.server.Bomb; |
12 | import ch.epfl.xblast.server.Player; | 6 | import ch.epfl.xblast.server.Player; |
13 | 7 | ||
8 | import 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 | |||
22 | abstract class NameCheck03 { | 17 | abstract 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 | } |