public class TestFreeform extends TestCase {
public void testCreation() {
// create a neural network, without using a factory
BasicNetwork basicNetwork = new BasicNetwork();
basicNetwork.addLayer(new BasicLayer(null, true, 2));
basicNetwork.addLayer(new BasicLayer(new ActivationSigmoid(), true, 3));
basicNetwork
.addLayer(new BasicLayer(new ActivationSigmoid(), false, 1));
basicNetwork.getStructure().finalizeStructure();
basicNetwork.reset();
FreeformNetwork freeformNetwork = new FreeformNetwork(basicNetwork);
Assert.assertEquals(basicNetwork.getInputCount(),