go-chart/tick_test.go

13 lines
248 B
Go
Raw Normal View History

2016-07-11 08:06:14 +02:00
package chart
2016-07-11 08:27:38 +02:00
2016-07-30 21:59:59 +02:00
/*
2016-07-11 08:27:38 +02:00
func TestGenerateTicksWithStep(t *testing.T) {
assert := assert.New(t)
2016-07-30 21:59:59 +02:00
2016-07-30 18:38:43 +02:00
ticks := GenerateContinuousTicksWithStep(&ContinuousRange{Min: 1.0, Max: 10.0, Domain: 100}, 1.0, FloatValueFormatter, false)
2016-07-12 08:32:31 +02:00
assert.Len(ticks, 10)
2016-07-11 08:27:38 +02:00
}
2016-07-30 21:59:59 +02:00
*/