public void TestApplyFill() { var t1 = new Series(new double[] { 1, 2, 3, 4 }); t1.ApplyFill("(x, i) => x * i + 1"); Assert.Equal(new double[] { 1, 3, 7, 13 }, t1.UnderlyingList); }
public void TestApplyFill() { var t1 = new Series(new double[] { 1, 2, 3, 4 }); t1.ApplyFill("(x, i) => x * i + 1"); Assert.Equal(new double[] { 1, 3, 7, 13 }, t1.UnderlyingList); }