@Test
public void testOnRandomConnections() {
// arrange
Neuron Fromneuron = new Neuron();
Fromneuron.setInput(.9d);
Fromneuron.calculate();
Neuron toneuron1 = new Neuron(), toneuron2 = new Neuron(), toneuron3 = new Neuron();
List<Connection> inputConnections = new ArrayList<Connection>();
{
{
Connection connection = new Connection(Fromneuron, toneuron1,