### Question:
Sgn extends TransferFunction implements Serializable { public double getOutput(double net) { if (net > 0d) return 1d; else return -1d; }  double getOutput(double net); Properties getProperties();  }### Answer:
@Test public void testGetOutput() { double result = instance.getOutput(net); assertEquals(expected, result, 0.0); }