public void Can_model_binary_Nand(bool expected, string descr, params double[] fixedInputSensors)
        {
            var inputs = SensorNeuronBuilder.WithValues(fixedInputSensors);
            //
            bool isOn = SigmoidNeuronBuilder.Nand(inputs).FiringRate.AsSigmoidToBool();

            //
            isOn.ShouldBe(expected);
        }
        public void Can_model_binary_Or()
        {
            SigmoidNeuronBuilder.Or(SensorNeuronBuilder.On(), SensorNeuronBuilder.Off())
            .FiringRate.AsSigmoidToBool()
            .ShouldBeTrue();

            SigmoidNeuronBuilder.Or(SensorNeuronBuilder.Off(), SensorNeuronBuilder.Off(), SensorNeuronBuilder.On(), SensorNeuronBuilder.Off())
            .FiringRate.AsSigmoidToBool()
            .ShouldBeTrue();

            SigmoidNeuronBuilder.Or(SensorNeuronBuilder.Off(), SensorNeuronBuilder.Off())
            .FiringRate.AsSigmoidToBool()
            .ShouldBeFalse();
        }