From 59d35ae34c4513f54decf056e944190d7e9926f0 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 15 Mar 2016 13:44:43 +0100 Subject: Reformat provided classes --- test/ch/epfl/xblast/namecheck/NameCheck04.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'test/ch/epfl') diff --git a/test/ch/epfl/xblast/namecheck/NameCheck04.java b/test/ch/epfl/xblast/namecheck/NameCheck04.java index b6adc8c..dc6cfb2 100644 --- a/test/ch/epfl/xblast/namecheck/NameCheck04.java +++ b/test/ch/epfl/xblast/namecheck/NameCheck04.java @@ -1,28 +1,24 @@ package ch.epfl.xblast.namecheck; -import java.util.List; -import java.util.Optional; - import ch.epfl.cs108.Sq; import ch.epfl.xblast.Cell; import ch.epfl.xblast.Lists; import ch.epfl.xblast.PlayerID; import ch.epfl.xblast.Time; -import ch.epfl.xblast.server.Block; -import ch.epfl.xblast.server.Board; -import ch.epfl.xblast.server.Bomb; -import ch.epfl.xblast.server.Bonus; -import ch.epfl.xblast.server.GameState; -import ch.epfl.xblast.server.Player; -import ch.epfl.xblast.server.Ticks; +import ch.epfl.xblast.server.*; + +import java.util.List; +import java.util.Optional; /** * Classe abstraite utilisant tous les éléments de l'étape 4, pour essayer de * garantir que ceux-ci ont le bon nom et les bons types. Attention, ceci n'est * pas un test unitaire, et n'a pas pour but d'être exécuté! + * + * @author EPFL */ - abstract class NameCheck04 { + void checkLists() { List l1 = null; List> p1 = Lists.permutations(l1); @@ -78,4 +74,5 @@ abstract class NameCheck04 { ps = s.isGameOver() ? s.alivePlayers() : s.players(); System.out.println(w); } + } -- cgit v1.2.3