more iterating on macd, need to get a better handle on how to test.

This commit is contained in:
Will Charczuk 2016-07-17 11:10:04 -07:00
parent 7858457772
commit 32dd907bf8
9 changed files with 464 additions and 246 deletions

View file

@ -46,6 +46,6 @@ func TestBollingerBandLastValue(t *testing.T) {
x, y1, y2 := bbs.GetLastBoundedValue()
assert.Equal(100.0, x)
assert.Equal(100, math.Floor(y1))
assert.Equal(95, math.Floor(y2))
assert.Equal(101, math.Floor(y1))
assert.Equal(83, math.Floor(y2))
}