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

@ -101,7 +101,7 @@ func TestNormalize(t *testing.T) {
values := []float64{10, 9, 8, 7, 6}
normalized := Math.Normalize(values...)
assert.Len(5, normalized)
assert.Len(normalized, 5)
assert.Equal(0.25, normalized[0])
assert.Equal(0.1499, normalized[4])
}