public void ReturnTwoGivenWeightValueIsTwo() { bias.Weight.Value = 2; var result = bias.Calculate(); Assert.Equal(result, 2); }
public sealed override void CalculateOutput() { Output += Bias.Calculate(); Output = base.TransferFunction.Evaluate(Output); }