*/
@Test
public final void testUpdateWeight() {
IHiddenNeuron h = new HiddenNeuron();
IHiddenNeuron t = new HiddenNeuron();
ILink l = new Link(h, t, new ZeroValue());
l.updateWeight(new DoubleValue(WEIGHT_TEST_VALUE));
assertEquals(l.getWeight(), new DoubleValue(WEIGHT_TEST_VALUE));
l.updateWeight(new DoubleValue(-WEIGHT_TEST_VALUE));
assertEquals(l.getWeight(), new DoubleValue(0.0));
}