fixing test.

This commit is contained in:
Will Charczuk 2016-07-18 15:49:34 -07:00
parent 3c3e045937
commit 2377467059

View File

@ -44,7 +44,7 @@ func TestBollingerBandLastValue(t *testing.T) {
InnerSeries: s1,
}
x, y1, y2 := bbs.GetLastBoundedValue()
x, y1, y2 := bbs.GetBoundedLastValue()
assert.Equal(100.0, x)
assert.Equal(101, math.Floor(y1))
assert.Equal(83, math.Floor(y2))