Formatting (unit test).

This commit is contained in:
Gilles Sadowski 2020-06-25 17:58:28 +02:00
parent 15dad0b047
commit 24e2c246ce
1 changed files with 9 additions and 9 deletions

View File

@ -220,9 +220,9 @@ public class NeuronSquareMesh2DTest {
public void test3x2CylinderNetwork2() { public void test3x2CylinderNetwork2() {
final FeatureInitializer[] initArray = { init }; final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(2, false, final Network net = new NeuronSquareMesh2D(2, false,
3, true, 3, true,
SquareNeighbourhood.MOORE, SquareNeighbourhood.MOORE,
initArray).getNetwork(); initArray).getNetwork();
Collection<Neuron> neighbours; Collection<Neuron> neighbours;
// All neurons. // All neurons.
@ -345,9 +345,9 @@ public class NeuronSquareMesh2DTest {
public void test3x3TorusNetwork2() { public void test3x3TorusNetwork2() {
final FeatureInitializer[] initArray = { init }; final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(3, true, final Network net = new NeuronSquareMesh2D(3, true,
3, true, 3, true,
SquareNeighbourhood.MOORE, SquareNeighbourhood.MOORE,
initArray).getNetwork(); initArray).getNetwork();
Collection<Neuron> neighbours; Collection<Neuron> neighbours;
// All neurons. // All neurons.
@ -569,9 +569,9 @@ public class NeuronSquareMesh2DTest {
public void testConcentricNeighbourhood() { public void testConcentricNeighbourhood() {
final FeatureInitializer[] initArray = { init }; final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(5, true, final Network net = new NeuronSquareMesh2D(5, true,
5, true, 5, true,
SquareNeighbourhood.VON_NEUMANN, SquareNeighbourhood.VON_NEUMANN,
initArray).getNetwork(); initArray).getNetwork();
Collection<Neuron> neighbours; Collection<Neuron> neighbours;
Collection<Neuron> exclude = new HashSet<>(); Collection<Neuron> exclude = new HashSet<>();