public class MultipleBlurResultIterableTest {
@Test
public void testMultipleHitsIterable() throws BlurException {
BlurResultIterableMultiple iterable = new BlurResultIterableMultiple();
iterable.addBlurResultIterable(newBlurResultIterable(0, 0.1, 3, 2, 9, 10, 2));
iterable.addBlurResultIterable(newBlurResultIterable(7, 2, 9, 1, 34, 53, 12));
iterable.addBlurResultIterable(newBlurResultIterable(4, 3));
iterable.addBlurResultIterable(newBlurResultIterable(7, 2, 34, 132));
iterable.addBlurResultIterable(newBlurResultIterable());
BlurIterator<BlurResult, BlurException> iterator = iterable.iterator();
while (iterator.hasNext()) {
BlurResult hit = iterator.next();
System.out.println(hit);
}
}