* .shared.util.NeuralNetBuilder
* #addHiddenLayer(com.neuralnetwork.shared.layers.IHiddenLayer)}.
*/
@Test
public final void testAddHiddenLayer() {
NeuralNetBuilder b = new NeuralNetBuilder(NUM_INPUTS, NUM_OUTPUTS);
b.addHiddenLayer(new HiddenLayer(NUM_HIDDEN));
b.build();
assertEquals(b.getNetwork().getHiddenLayer(0).getSize(), NUM_HIDDEN);
assertEquals(b.getNetwork()
.getHiddenLayer(0).getLayerType(), LayerType.HIDDEN);
}