Annotation Interface DoubleInRange
@Target(TYPE_USE)
@Retention(RUNTIME)
@AppliesTo({double.class,java.lang.Double.class})
public @interface DoubleInRange
Generates a
double in the specified range.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether NaN is allowed to be generated.Defines the scope of the annotation.doubleThe maximum value of the range, inclusive.doubleThe minimum value of the range, inclusive.
-
Element Details
-
min
double minThe minimum value of the range, inclusive.- Default:
-1.0/0.0
-
max
double maxThe maximum value of the range, inclusive.- Default:
1.0/0.0
-
allowNaN
boolean allowNaNWhether NaN is allowed to be generated.- Default:
true
-
constraint
String constraintDefines the scope of the annotation. Possible values are defined inPropertyConstraint.- Default:
"JAZZER_PROPERTY_CONSTRAINT_DECLARATION"
-