Fixed order of arguments to assert.Len in test files. (#93)
* Fixed order of arguments to assert.Len in test files. * Added BaseValue funtionality to bar chart
This commit is contained in:
parent
3edccc4758
commit
ac680bd82d
15 changed files with 29 additions and 29 deletions
|
|
@ -14,7 +14,7 @@ func TestPoly(t *testing.T) {
|
|||
|
||||
c, err := Poly(xGiven, yGiven, degree)
|
||||
assert.Nil(err)
|
||||
assert.Len(3, c)
|
||||
assert.Len(c, 3)
|
||||
|
||||
assert.InDelta(c[0], 0.999999999, DefaultEpsilon)
|
||||
assert.InDelta(c[1], 2, DefaultEpsilon)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue