Fixed order of arguments to assert.Len in test files.

This commit is contained in:
david 2018-07-13 19:00:18 -05:00
parent 9e3a080aa3
commit 48ccd0040d
15 changed files with 29 additions and 29 deletions

View file

@ -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)