From ccdecd80ffe482fbe994515e98eeae68fb4ca401 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 11 Feb 2014 22:17:30 +0000 Subject: Finished writing chromosome tests, implemented active node detection, started writing node tests. --- src/jcgp/tests/NodeTests.java | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/jcgp/tests/NodeTests.java (limited to 'src/jcgp/tests/NodeTests.java') 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() { + + } + +} -- cgit v1.2.3