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