ValuesProvider vp = new ValuesProvider();
vp.addValues(c.getInputLayer(), i1);
vp.addValues(c.getOutputLayer(), o);
calc.calculate(connections, vp, c.getOutputLayer());
assertEquals(1.75, o.get(0, 0), 0);
assertEquals(2.75, o.get(1, 0), 0);
assertEquals(5.75, o.get(2, 0), 0);
assertEquals(6.75, o.get(3, 0), 0);