public void GenerateConnectionsWith_WithoutConnectionHidden_CreatesOutgoingConnection()
        {
            // Arrange
            var incomingHiddenNeuron = new HiddenNeuron();

            // Act
            var connectionsBefore = incomingHiddenNeuron.GetOutgoingConnections().Count();

            _hiddenNeuron.GenerateConnectionsWith(incomingHiddenNeuron);

            // Assert
            Assert.IsTrue(connectionsBefore == 0);
            Assert.IsTrue(incomingHiddenNeuron.GetOutgoingConnections().Count() == 1);
            Assert.IsTrue(incomingHiddenNeuron.GetOutgoingConnections().First().ToNeuron == _hiddenNeuron);
        }
        public void GenerateConnectionsWith_WithExistingConnectionHidden_DoesNotAddNewOutgoingConnection()
        {
            // Arrange
            var incomingHiddenNeuron = new HiddenNeuron();

            // Act
            _hiddenNeuron.GenerateConnectionsWith(incomingHiddenNeuron);
            _hiddenNeuron.GenerateConnectionsWith(incomingHiddenNeuron);
            _hiddenNeuron.GenerateConnectionsWith(incomingHiddenNeuron);
            _hiddenNeuron.GenerateConnectionsWith(incomingHiddenNeuron);

            // Assert
            Assert.IsTrue(incomingHiddenNeuron.GetOutgoingConnections().Count() == 1);
        }