mlp_network.setInputVector(vec);
//mlp_network.
Layer l0 = mlp_network.getLayerByIndex(0);
assertEquals( 2, l0.getNeurons().size() );
assertEquals(0, l0.getNeuronAt(0).getInConnections().size() );
assertEquals(0, l0.getNeuronAt(1).getInConnections().size() );
assertEquals(3, l0.getNeuronAt(0).getOutConnections().size() );
assertEquals(3, l0.getNeuronAt(1).getOutConnections().size() );
Layer l1 = mlp_network.getLayerByIndex(1);
assertEquals( 3, l1.getNeurons().size() );
assertEquals(2, l1.getNeuronAt(0).getInConnections().size() );
assertEquals(2, l1.getNeuronAt(1).getInConnections().size() );
assertEquals(2, l1.getNeuronAt(2).getInConnections().size() );
assertEquals(2, l1.getNeuronAt(0).getOutConnections().size() );
assertEquals(2, l1.getNeuronAt(1).getOutConnections().size() );
assertEquals(2, l1.getNeuronAt(2).getOutConnections().size() );
Layer l2 = mlp_network.getLayerByIndex(2);
assertEquals( 2, l2.getNeurons().size() );
assertEquals(3, l2.getNeuronAt(0).getInConnections().size() );
assertEquals(3, l2.getNeuronAt(1).getInConnections().size() );
assertEquals(0, l2.getNeuronAt(0).getOutConnections().size() );
assertEquals(0, l2.getNeuronAt(1).getOutConnections().size() );
}