NeuronSquareMesh2D implements Serializable { public Network getNetwork() { return network; } NeuronSquareMesh2D(boolean wrapRowDim,
                       boolean wrapColDim,
                       SquareNeighbourhood neighbourhoodType,
                       double[][][] featuresList);  NeuronSquareMesh2D(int numRows,
                              boolean wrapRowDim,
                              int numCols,
                              boolean wrapColDim,
                              SquareNeighbourhood neighbourhoodType,
                              FeatureInitializer[] featureInit); Network getNetwork(); int getNumberOfRows(); int getNumberOfColumns(); Neuron getNeuron(int i,
                            int j);  }
@Test public void testGetFeaturesSize() { final FeatureInitializer[] initArray = { init, init, init }; final Network net = new NeuronSquareMesh2D(2, false, 2, false, SquareNeighbourhood.VON_NEUMANN, initArray).getNetwork(); Assert.assertEquals(3, net.getFeaturesSize()); }