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:
David Mis 2018-09-05 10:45:19 -05:00 committed by Will Charczuk
parent 3edccc4758
commit ac680bd82d
15 changed files with 29 additions and 29 deletions

View file

@ -88,7 +88,7 @@ func TestSequenceNormalize(t *testing.T) {
normalized := Values(1, 2, 3, 4, 5).Normalize().Array()
assert.NotEmpty(normalized)
assert.Len(5, normalized)
assert.Len(normalized, 5)
assert.Equal(0, normalized[0])
assert.Equal(0.25, normalized[1])
assert.Equal(1, normalized[4])