* Test method for {@link com.neuralnetwork
* .shared.network.Network#getNeuron(int, int)}.
*/
@Test
public final void testGetNeuron() {
INetwork n = new Network(FIVE, FIVE, THREE,
new int[] {FOUR, TWO, FOUR});
n.build();
assertNotNull(n);
assertNotNull(n.getNeuron(0, 0));
assertNotNull(n.getNeuron(ONE, 0));
assertNotNull(n.getNeuron(TWO, 0));
assertNotNull(n.getNeuron(THREE, 0));
assertNotNull(n.getNeuron(FOUR, 0));
assertNotNull(n.getNeuron(0, ONE));
assertNotNull(n.getNeuron(ONE, ONE));
assertNotNull(n.getNeuron(TWO, ONE));
assertNotNull(n.getNeuron(THREE, ONE));
assertNotNull(n.getNeuron(0, TWO));
assertNotNull(n.getNeuron(ONE, TWO));
assertNotNull(n.getNeuron(0, THREE));
assertNotNull(n.getNeuron(ONE, THREE));
assertNotNull(n.getNeuron(TWO, THREE));
assertNotNull(n.getNeuron(THREE, THREE));
assertNotNull(n.getNeuron(0, FOUR));
assertNotNull(n.getNeuron(ONE, FOUR));
assertNotNull(n.getNeuron(TWO, FOUR));
assertNotNull(n.getNeuron(THREE, FOUR));
assertNotNull(n.getNeuron(FOUR, FOUR));
assertNull(n.getNeuron(Integer.MAX_VALUE, 0));
assertNull(n.getNeuron(-TWO, 0));
assertNull(n.getNeuron(0, -TWO));
assertNull(n.getNeuron(ONE, -TWO));
assertNull(n.getNeuron(0, THREE * TWO));
assertNull(n.getNeuron(-ONE, -ONE));
assertNull(n.getNeuron(-ONE, THREE * TWO));
}