public void NetworkLayerBase_WithArguments_InitializesProperties() { // Arrange var neurons = new List <INeuron>() { new InputNeuron() }; _layer = new FakeNeuronLayer(1, neurons); // Assert Assert.IsTrue(_layer.SortOrder == 1); Assert.IsNotNull(_layer.Neurons); Assert.IsTrue(_layer.Neurons.Count() == 1); }
public void Initialize() { _layer = new FakeNeuronLayer(1); }