diff options
author | Pacien TRAN-GIRARD | 2015-11-24 14:28:26 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-24 14:28:26 +0100 |
commit | e2354d82e09c3bf8ae472d174332670d2d12f9bb (patch) | |
tree | 92528b9231178fd47c6910163360413d4ae77256 /src/ch/epfl/maze/tests/AnimalTest.java | |
parent | 5f9be99e7ebd4a90e666e6efbe9e9d4b3b8008e7 (diff) | |
download | maze-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.java | 6 |
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; | |||
6 | import junit.framework.TestCase; | 6 | import junit.framework.TestCase; |
7 | import org.junit.Test; | 7 | import org.junit.Test; |
8 | 8 | ||
9 | import 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 | */ |
14 | public class AnimalTest extends TestCase { | 14 | public 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 | ||