Skip to content

FloatForgery

Xavier Gouchet edited this page Dec 13, 2019 · 2 revisions

@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.PROPERTY]) annotation class FloatForgery

Mark a field, property or method parameter as a primitive float forgery.

Constructors

<init>

FloatForgery(min: Float= -java.lang.Float.MAX_VALUE, max:Float= java.lang.Float.MAX_VALUE, mean:Float= 0f, standardDeviation:Float = java.lang.Float.NaN)

Mark a field, property or method parameter as a primitive float forgery.

Properties

max

val max: Float

mean

val mean: Float

min

val min: Float

standardDeviation

val standardDeviation: Float

Clone this wiki locally