*/
@Test
public final void testFeedforward() {
Neuron n = new InputNeuron(new DoubleValue(D_0_1));
Neuron n1 = new InputNeuron(new DoubleValue(D_0_1));
Neuron m = new HiddenNeuron();
Neuron o = new OutputNeuron();
Neuron o1 = new OutputNeuron();
n.addOutputLink(m);
n1.addOutputLink(m);
m.addOutputLink(o);
m.addOutputLink(o1);
assertEquals(m.getInputLink(0), n.getOutputLink(0));
LOGGER.debug("====== Before Feedforward ======");
LOGGER.debug(n + " " + n1);
LOGGER.debug(m.toString());
LOGGER.debug(o + " " + o1);
LOGGER.debug("================================");
n.feedforward(new DoubleValue(D_0_1),
new NeuralNetContext(null));
LOGGER.debug("======= After Feedforward =======");
LOGGER.debug(n + " " + n1);
LOGGER.debug(m.toString());
LOGGER.debug(o + " " + o1);
LOGGER.debug("=================================");
}