aboutsummaryrefslogtreecommitdiff
path: root/test/ch
diff options
context:
space:
mode:
authorTimothée Floure2016-02-29 13:54:26 +0100
committerTimothée Floure2016-02-29 13:54:26 +0100
commit3fd6365255ba761f45f34bff3fef27a28b3a1785 (patch)
treee8335f9836c5672fd26cc04dc4ad16613a79212d /test/ch
parent746aafc3f0e8212282a5fbf31de7a83d2a618dc8 (diff)
downloadxblast-3fd6365255ba761f45f34bff3fef27a28b3a1785.tar.gz
Fix typo in comment + remove tests on null input
Diffstat (limited to 'test/ch')
-rw-r--r--test/ch/epfl/xblast/ListsTest.java6
-rw-r--r--test/ch/epfl/xblast/server/BoardTest.java2
2 files changed, 0 insertions, 8 deletions
diff --git a/test/ch/epfl/xblast/ListsTest.java b/test/ch/epfl/xblast/ListsTest.java
index 6a98b3f..42b317f 100644
--- a/test/ch/epfl/xblast/ListsTest.java
+++ b/test/ch/epfl/xblast/ListsTest.java
@@ -16,12 +16,6 @@ public class ListsTest {
16 Lists.<Integer>mirrored(sampleList); 16 Lists.<Integer>mirrored(sampleList);
17 } 17 }
18 18
19 @Test(expected=IllegalArgumentException.class)
20 public void isNullListThrowingException() {
21 List<Integer> sampleList = Arrays.asList();
22 Lists.<Integer>mirrored(sampleList);
23 }
24
25 @Test 19 @Test
26 public void isListMirrored() { 20 public void isListMirrored() {
27 List<Integer> sampleList = Arrays.asList(1,2,3,4,5); 21 List<Integer> sampleList = Arrays.asList(1,2,3,4,5);
diff --git a/test/ch/epfl/xblast/server/BoardTest.java b/test/ch/epfl/xblast/server/BoardTest.java
index 7868e70..e40769b 100644
--- a/test/ch/epfl/xblast/server/BoardTest.java
+++ b/test/ch/epfl/xblast/server/BoardTest.java
@@ -12,7 +12,6 @@ import static org.junit.Assert.*;
12 * @author Pacien TRAN-GIRARD (261948) 12 * @author Pacien TRAN-GIRARD (261948)
13 */ 13 */
14public class BoardTest { 14public class BoardTest {
15
16 @Test(expected=IllegalArgumentException.class) 15 @Test(expected=IllegalArgumentException.class)
17 public void isBoardBuilderEmptyInputThrowingException() { 16 public void isBoardBuilderEmptyInputThrowingException() {
18 List<Sq<Block>> blocks = new ArrayList<Sq<Block>>(); 17 List<Sq<Block>> blocks = new ArrayList<Sq<Block>>();
@@ -20,7 +19,6 @@ public class BoardTest {
20 19
21 } 20 }
22 21
23
24 @Test(expected=IllegalArgumentException.class) 22 @Test(expected=IllegalArgumentException.class)
25 public void isBoardBuilderIllegalInputThrowingException() { 23 public void isBoardBuilderIllegalInputThrowingException() {
26 List<Sq<Block>> blocks = new ArrayList<Sq<Block>>(); 24 List<Sq<Block>> blocks = new ArrayList<Sq<Block>>();