net.jqwik.engine.properties.shrinking.NullShrinkingSequence Maven / Gradle / Ivy
package net.jqwik.engine.properties.shrinking;
import java.util.function.*;
import net.jqwik.api.*;
public class NullShrinkingSequence implements ShrinkingSequence {
private final Shrinkable shrinkable;
public NullShrinkingSequence(Shrinkable shrinkable) {
this.shrinkable = shrinkable;
}
@Override
public boolean next(Runnable count, Consumer> falsifiedReporter) {
return false;
}
@Override
public void init(FalsificationResult initialCurrent) {
}
@Override
public FalsificationResult current() {
return FalsificationResult.falsified(shrinkable);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy