diff options
Diffstat (limited to 'src/jcgp/tests/NodeTests.java')
-rw-r--r-- | src/jcgp/tests/NodeTests.java | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/jcgp/tests/NodeTests.java b/src/jcgp/tests/NodeTests.java index ecc87ff..5b378d2 100644 --- a/src/jcgp/tests/NodeTests.java +++ b/src/jcgp/tests/NodeTests.java @@ -2,7 +2,6 @@ package jcgp.tests; import static org.junit.Assert.assertTrue; -import java.util.ArrayList; import java.util.Random; import jcgp.Parameters; @@ -92,11 +91,6 @@ public class NodeTests { return arg1; } - @Override - public void getActive(ArrayList<Connection> activeNodes) { - // irrelevant for this test - } - }, new Connection() { @@ -106,11 +100,6 @@ public class NodeTests { return arg2; } - @Override - public void getActive(ArrayList<Connection> activeNodes) { - // irrelevant for this test - } - }}); } @@ -189,11 +178,6 @@ public class NodeTests { return 0; } - @Override - public void getActive(ArrayList<Connection> activeNodes) { - // blank - - } }; conn1 = new Connection() { @@ -203,11 +187,6 @@ public class NodeTests { return 0; } - @Override - public void getActive(ArrayList<Connection> activeNodes) { - // blank - - } }; node.initialise(null, conn0, conn1); @@ -222,17 +201,12 @@ public class NodeTests { // blank return 0; } - - @Override - public void getActive(ArrayList<Connection> activeNodes) { - // blank - - } }; node.setConnection(conn2); assertTrue("Connection was not found in node.", node.getConnection(0) == conn2 || node.getConnection(1) == conn2); } + } |