Tick generator using interval.

Close #1166.
Can you expand this into a forEach loop?

Something similar to

ticks.forEach((tick) =>
  assert.operator for >= start
  assert.operator for <= end