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
|
|
@ -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])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue