From bf690767f4e2d05e9b7eb667aba4c98f65838ffe Mon Sep 17 00:00:00 2001 From: Will Charczuk Date: Mon, 18 Jul 2016 15:08:50 -0700 Subject: [PATCH] missed one. --- bollinger_band_series_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bollinger_band_series_test.go b/bollinger_band_series_test.go index 6aed159..f6b5d03 100644 --- a/bollinger_band_series_test.go +++ b/bollinger_band_series_test.go @@ -27,7 +27,7 @@ func TestBollingerBandSeries(t *testing.T) { xvalues[x], y1values[x], y2values[x] = bbs.GetBoundedValue(x) } - for x := bbs.GetWindowSize(); x < 100; x++ { + for x := bbs.GetPeriod(); x < 100; x++ { assert.True(y1values[x] > y2values[x]) } }