*/
@Test(timeout = TIMEOUT)
public final void testCreate() {
IInputLayer l1 = new InputLayer(LAYER_SIZE);
l1.build();
IOutputLayer l2 = new OutputLayer(LAYER_SIZE);
l2.build();
Connections.getInstance().create(l1, l2);
Iterator<IInputNeuron> iter1 = l1.iterator();
INeuron tmp = null;
while (iter1.hasNext()) {
tmp = iter1.next();
Iterator<IOutputNeuron> iter2 = l2.iterator();
for (ILink l : tmp.getOutputLinks()) {
if (iter2.hasNext()) {
assertEquals(l.getTail(), iter2.next());
}
}