### Question:
Layer implements Iterable<Neuron>, Serializable { public void reset() { neurons.forEach((neuron) -> { neuron.reset(); }); } Layer();  Layer(int neuronsCount);  Layer(int neuronsCount, NeuronProperties neuronProperties); final void setParentNetwork(NeuralNetwork parent); final NeuralNetwork getParentNetwork(); final List<Neuron> getNeurons(); final void addNeuron(Neuron neuron); final void addNeuron(int index, Neuron neuron); final void setNeuron(int index, Neuron neuron); final void removeNeuron(Neuron neuron); final void removeNeuronAt(int index); final void removeAllNeurons(); Neuron getNeuronAt(int index); int indexOf(Neuron neuron); int getNeuronsCount(); void calculate(); void reset(); void initializeWeights(double value); String getLabel(); void setLabel(String label); boolean isEmpty(); @Override Iterator<Neuron> iterator();  }### Answer:
@Test public void testReset() { testneuron1.setInput(5d); testneuron1.setOutput(6d); assertEquals(6d, testneuron1.getOutput(), .0001); instance.reset(); assertEquals(0d, testneuron1.getNetInput(), .0001); assertEquals(0d, testneuron1.getOutput(), .0001); }