### Question:
Sigmoid extends TransferFunction implements Serializable { @Override public double getOutput(double netInput) { if (netInput > 100) { return 1.0; }else if (netInput < -100) { return 0.0; } double den = 1 + Math.exp(-this.slope * netInput); this.output = (1d / den); return this.output; } Sigmoid();  Sigmoid(double slope);  Sigmoid(Properties properties); double getSlope(); void setSlope(double slope); @Override double getOutput(double netInput); @Override double getDerivative(double net);  }### Answer:
@Test public void testGetOutput() { double result = instance.getOutput(input); assertEquals(expected, result, FloatingAccuracy.ACCURACY); }