summaryrefslogtreecommitdiff
path: root/src/ch/epfl/maze/tests/AnimalTest.java
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-24 14:28:26 +0100
committerPacien TRAN-GIRARD2015-11-24 14:28:26 +0100
commite2354d82e09c3bf8ae472d174332670d2d12f9bb (patch)
tree92528b9231178fd47c6910163360413d4ae77256 /src/ch/epfl/maze/tests/AnimalTest.java
parent5f9be99e7ebd4a90e666e6efbe9e9d4b3b8008e7 (diff)
downloadmaze-solver-e2354d82e09c3bf8ae472d174332670d2d12f9bb.tar.gz
Use Set instead of array for Direction choices
Diffstat (limited to 'src/ch/epfl/maze/tests/AnimalTest.java')
-rw-r--r--src/ch/epfl/maze/tests/AnimalTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ch/epfl/maze/tests/AnimalTest.java b/src/ch/epfl/maze/tests/AnimalTest.java
index 67c27e5..0b02442 100644
--- a/src/ch/epfl/maze/tests/AnimalTest.java
+++ b/src/ch/epfl/maze/tests/AnimalTest.java
@@ -6,10 +6,10 @@ import ch.epfl.maze.util.Vector2D;
6import junit.framework.TestCase; 6import junit.framework.TestCase;
7import org.junit.Test; 7import org.junit.Test;
8 8
9import java.util.Set;
10
9/** 11/**
10 * Test case for {@code Animal} implementation. 12 * Test case for {@code Animal} implementation.
11 *
12 * @author EPFL
13 */ 13 */
14public class AnimalTest extends TestCase { 14public class AnimalTest extends TestCase {
15 15
@@ -79,7 +79,7 @@ public class AnimalTest extends TestCase {
79 } 79 }
80 80
81 @Override 81 @Override
82 public Direction move(Direction[] choices) { 82 public Direction move(Set<Direction> choices) {
83 return null; 83 return null;
84 } 84 }
85 85