Package net.jqwik.api.arbitraries
Schnittstelle ByteArbitrary
- Alle Superschnittstellen:
Arbitrary<Byte>
,NumericalArbitrary<Byte,
ByteArbitrary>
@API(status=MAINTAINED,
since="1.0")
public interface ByteArbitrary
extends NumericalArbitrary<Byte,ByteArbitrary>
Fluent interface to configure the generation of Byte and byte values.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault ByteArbitrary
between
(byte min, byte max) Set the allowed lowermin
(included) and uppermax
(included) bounds of generated numbers.greaterOrEqual
(byte min) Set the allowed lowermin
(included) bound of generated numbers.lessOrEqual
(byte max) Set the allowed uppermax
(included) bound of generated numbers.shrinkTowards
(int target) Set shrinking target totarget
which must be between the allowed bounds.Von Schnittstelle geerbte Methoden net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
Von Schnittstelle geerbte Methoden net.jqwik.api.arbitraries.NumericalArbitrary
withDistribution
-
Methodendetails
-
between
Set the allowed lowermin
(included) and uppermax
(included) bounds of generated numbers.- Parameter:
min
- min value (included)max
- max value (included)- Gibt zurück:
- new instance of arbitrary
-
greaterOrEqual
Set the allowed lowermin
(included) bound of generated numbers.- Parameter:
min
- min value (included)- Gibt zurück:
- new instance of arbitrary
-
lessOrEqual
Set the allowed uppermax
(included) bound of generated numbers.- Parameter:
max
- max value (included)- Gibt zurück:
- new instance of arbitrary
-
shrinkTowards
Set shrinking target totarget
which must be between the allowed bounds.- Parameter:
target
- target shrinking value- Gibt zurück:
- new instance of arbitrary
-