Neuron implements Serializable { public int getSize() { return size; } Neuron(long identifier,
           double[] features); long getIdentifier(); int getSize(); double[] getFeatures(); boolean compareAndSetFeatures(double[] expect,
                                         double[] update);  }
@Test public void testGetSize() { final double[] features = { -1, -1e-97, 0, 23.456, 9.01e203 } ; final Neuron n = new Neuron(1, features); Assert.assertEquals(features.length, n.getSize()); }