@Test
public void toTimespanIntervalMin() {

	final ISeq<Integer> values = IntStream.range(0, 100).boxed()
		.flatMap(Streams.toIntervalMin(Duration.ofMillis(10), new TestClock()))
		.collect(ISeq.toISeq());
	Assert.assertEquals(values.length(),10);
	Assert.assertEquals(values.get(0).intValue(), 0);
	int start = values.get(0);
	for (int i = 1; i < values.size(); ++i) {
		final int diff = values.get(i) - start;
		Assert.assertEquals(diff, 10);
		start = values.get(i);
	}
}