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