public void TestException() { var fn = new InverseLinkFunction(); double[] x = { 1, 2 }; fn.Evaluate(x); }
public void TestEvaluate() { var fn = new InverseLinkFunction(); double[] x = { 2 }; double y = fn.Evaluate(x); Assert.AreEqual(-0.5, y, AIFH.DefaultPrecision); }