summaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/luxons/sevenwonders/game/cards/HandRotationDirectionTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/java/org/luxons/sevenwonders/game/cards/HandRotationDirectionTest.java b/src/test/java/org/luxons/sevenwonders/game/cards/HandRotationDirectionTest.java
new file mode 100644
index 00000000..6165d158
--- /dev/null
+++ b/src/test/java/org/luxons/sevenwonders/game/cards/HandRotationDirectionTest.java
@@ -0,0 +1,15 @@
+package org.luxons.sevenwonders.game.cards;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class HandRotationDirectionTest {
+
+ @Test
+ public void testAgesDirections() throws Exception {
+ assertEquals(HandRotationDirection.LEFT, HandRotationDirection.forAge(1));
+ assertEquals(HandRotationDirection.RIGHT, HandRotationDirection.forAge(2));
+ assertEquals(HandRotationDirection.LEFT, HandRotationDirection.forAge(3));
+ }
+} \ No newline at end of file
bgstack15