From bc477506342411e9156b3230d847cb92bcb8e5f9 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 24 Nov 2015 11:11:17 +0100 Subject: Reformat code --- src/ch/epfl/maze/tests/GhostsTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/ch/epfl/maze/tests/GhostsTest.java') diff --git a/src/ch/epfl/maze/tests/GhostsTest.java b/src/ch/epfl/maze/tests/GhostsTest.java index c8c71a9..f4e0c2e 100644 --- a/src/ch/epfl/maze/tests/GhostsTest.java +++ b/src/ch/epfl/maze/tests/GhostsTest.java @@ -19,7 +19,6 @@ import org.junit.Test; /** * Test suite for ghosts implementation. */ - public class GhostsTest extends TestCase { public static final boolean DEBUG = false; @@ -29,7 +28,6 @@ public class GhostsTest extends TestCase { *

* In this case, Blinky should go straight to the PacMan's position. */ - @Test public void testBlinky() { int[][] labyrinth = LabyrinthGenerator.getDebugBlinky(); @@ -50,7 +48,6 @@ public class GhostsTest extends TestCase { *

* In this case, Pinky should go back and forth. */ - @Test public void testPinky() { int[][] labyrinth = LabyrinthGenerator.getDebugPinky(); @@ -71,7 +68,6 @@ public class GhostsTest extends TestCase { *

* In this case, Inky should target the red tile of the labyrinth. */ - @Test public void testInky() { int[][] labyrinth = LabyrinthGenerator.getDebugInky(); @@ -93,7 +89,6 @@ public class GhostsTest extends TestCase { *

* In this case, Clyde should go back and forth. */ - @Test public void testClyde() { int[][] labyrinth = LabyrinthGenerator.getDebugClyde(); @@ -112,7 +107,6 @@ public class GhostsTest extends TestCase { /** * Mock class to create a dummy PacMan in our testing unit. */ - private class PacMan extends Prey { private boolean mMoves; @@ -123,7 +117,6 @@ public class GhostsTest extends TestCase { * @param position Starting position of PacMan in the labyrinth * @param moves Determines if the dummy PacMan will move back and forth */ - public PacMan(Vector2D position, boolean moves) { super(position); mMoves = moves; @@ -142,4 +135,5 @@ public class GhostsTest extends TestCase { return new PacMan(getPosition(), mMoves); } } + } -- cgit v1.2.3