diff --git a/tick_test.go b/tick_test.go index 58a733f..b13330f 100644 --- a/tick_test.go +++ b/tick_test.go @@ -1 +1,14 @@ package chart + +import ( + "testing" + + "github.com/blendlabs/go-assert" +) + +func TestGenerateTicksWithStep(t *testing.T) { + assert := assert.New(t) + + ticks := GenerateTicksWithStep(Range{Min: 1.0, Max: 10.0, Domain: 100}, 1.0, FloatValueFormatter) + assert.Len(ticks, 9) +}