* Test method for {@link com.neuralnetwork
* .shared.neurons.Neuron#getInputLinks(int[])}.
*/
@Test
public final void testGetInputLinks() {
Neuron n = new InputNeuron();
Neuron n1 = new InputNeuron();
Neuron m = new HiddenNeuron();
m.addInputLink(n);
m.addInputLink(n1);
ILink[] l = m.getInputLinks(0, 1);
assertEquals(l[0].getTail(), n);
assertEquals(l[1].getTail(), n1);
l = m.getInputLinks();
assertEquals(l[0].getTail(), n);
assertEquals(l[1].getTail(), n1);
}