aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/backend/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/backend/tests')
-rw-r--r--src/jcgp/backend/tests/NodeTests.java34
-rw-r--r--src/jcgp/backend/tests/OutputTests.java12
2 files changed, 0 insertions, 46 deletions
diff --git a/src/jcgp/backend/tests/NodeTests.java b/src/jcgp/backend/tests/NodeTests.java
index 2294816..e8fe02f 100644
--- a/src/jcgp/backend/tests/NodeTests.java
+++ b/src/jcgp/backend/tests/NodeTests.java
@@ -57,13 +57,6 @@ public class NodeTests {
// hardcode a value
return arg1;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
-
},
new Connection() {
@@ -72,13 +65,6 @@ public class NodeTests {
// hardcode a value
return arg2;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
-
}});
}
@@ -144,13 +130,6 @@ public class NodeTests {
// blank
return 0;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
-
};
conn1 = new Connection() {
@@ -159,13 +138,6 @@ public class NodeTests {
// blank
return 0;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
-
};
Function function = new Function() {
@@ -201,12 +173,6 @@ public class NodeTests {
// blank
return 0;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
};
node.setConnection(resources.getRandomInt(resources.getInt("arity")), conn2);
diff --git a/src/jcgp/backend/tests/OutputTests.java b/src/jcgp/backend/tests/OutputTests.java
index b2bc7ec..afe44a7 100644
--- a/src/jcgp/backend/tests/OutputTests.java
+++ b/src/jcgp/backend/tests/OutputTests.java
@@ -52,12 +52,6 @@ public class OutputTests {
// test value
return outputValue;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
});
assertTrue("Incorrect evaluation.", ((Integer) output.calculate()) == outputValue);
@@ -73,12 +67,6 @@ public class OutputTests {
// blank
return 0;
}
-
- @Override
- public String getDescription() {
- // blank
- return null;
- }
};
output.setConnection(0, newConn);