more iterating on macd, need to get a better handle on how to test.
This commit is contained in:
parent
7858457772
commit
32dd907bf8
9 changed files with 464 additions and 246 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue