public void CalculateOutput_InputLargerThanTreshold_OneReturned() { var stepFunction = new StepActivationFunction(111); Assert.AreEqual(1, stepFunction.CalculateOutput(112)); }
public void CalculateOutput_InputSmallerThanTreshold_ZeroReturned() { var stepFunction = new StepActivationFunction(111); Assert.AreEqual(0, stepFunction.CalculateOutput(110)); }