-
-
Notifications
You must be signed in to change notification settings - Fork 3
DoubleForgery
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.PROPERTY]) annotation class DoubleForgery
Mark a field, property or method parameter as a primitive double forgery.
You can only specify the min
and max
parameters, or the mean
and standardDeviation
parameters.
min
- the minimum value (inclusive), default = -Double.MAX_VALUE
max
- the maximum value (exclusive), default = Double.MAX_VALUE
mean
- the mean value of the distribution
standardDeviation
- the standard deviation value of the distribution
DoubleForgery(min:
Double
= -java.lang.Double.MAX_VALUE, max:
Double
= java.lang.Double.MAX_VALUE, mean:
Double
= 0.0, standardDeviation:
Double
= java.lang.Double.NaN)
Mark a field, property or method parameter as a primitive double forgery.
You can only specify the min
and max
parameters, or the mean
and standardDeviation
parameters.
min
- the minimum value (inclusive), default = -Double.MAX_VALUE
max
- the maximum value (exclusive), default = Double.MAX_VALUE
mean
- the mean value of the distribution
standardDeviation
- the standard deviation value of the distribution
val max:
Double
the maximum value (exclusive), default = Double.MAX_VALUE
val mean:
Double
the mean value of the distribution
val min:
Double
the minimum value (inclusive), default = -Double.MAX_VALUE
val standardDeviation:
Double
the standard deviation value of the distribution
Xavier F. Gouchet – @xgouchet
Distributed under the MIT license. See LICENSE.md for more information.
https://github.com/xgouchet/Elymr
- Home
- Getting Started
- Core Module
- Integrations
- Reference (core)
- Reference (junit4)
- Reference (junit5)
- Reference (spek)