public void testBasic() {
final MultipleLinearRegression reg = new MultipleLinearRegression(1);
assertEquals(2, reg.getLongTermMemory().length);
final LogLinkFunction lnk = new LogLinkFunction();
reg.setLinkFunction(lnk);
assertTrue(reg.getLinkFunction() == lnk);
reg.getLongTermMemory()[0] = 1;
reg.getLongTermMemory()[1] = 2;