aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/tests/NodeTests.java
diff options
context:
space:
mode:
authorEduardo Pedroni <ep625@york.ac.uk>2014-02-11 22:17:30 +0000
committerEduardo Pedroni <ep625@york.ac.uk>2014-02-11 22:17:30 +0000
commitccdecd80ffe482fbe994515e98eeae68fb4ca401 (patch)
tree50013c63d2e524ac69350256dd87fc0902dce0f9 /src/jcgp/tests/NodeTests.java
parentdd3b6446671f31d716eb07e546c6150b4d080abd (diff)
Finished writing chromosome tests, implemented active node detection, started writing node tests.
Diffstat (limited to 'src/jcgp/tests/NodeTests.java')
-rw-r--r--src/jcgp/tests/NodeTests.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/jcgp/tests/NodeTests.java b/src/jcgp/tests/NodeTests.java
new file mode 100644
index 0000000..921879f
--- /dev/null
+++ b/src/jcgp/tests/NodeTests.java
@@ -0,0 +1,34 @@
+package jcgp.tests;
+
+import static org.junit.Assert.*;
+
+import org.junit.Before;
+import org.junit.Test;
+
+/**
+ *
+ * Tests which cover the behaviour specified for a node.
+ *
+ * - A node should contain read-only row and column values which are set upon construction.
+ * - It should contain a fully accessible Function object.
+ * - It should contain a set of connections which can be initialised and randomly
+ * modified.
+ *
+ * WARNING: changing parameters may cause the tests to incorrectly fail!
+ *
+ * @author Eduardo Pedroni
+ *
+ */
+public class NodeTests {
+
+ @Before
+ public void setUp() throws Exception {
+
+ }
+
+ @Test
+ public void test() {
+
+ }
+
+}