FENCEPOSTS.
This commit is contained in:
parent
fc0f274f51
commit
ec4d92fc5e
2 changed files with 11 additions and 13 deletions
|
|
@ -65,6 +65,8 @@ func TestLinearRegressionSeriesWindowAndOffset(t *testing.T) {
|
|||
Window: 10,
|
||||
}
|
||||
|
||||
assert.Equal(10, linRegSeries.Len())
|
||||
|
||||
lrx0, lry0 := linRegSeries.GetValue(0)
|
||||
assert.InDelta(90.0, lrx0, 0.0000001)
|
||||
assert.InDelta(90.0, lry0, 0.0000001)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue