-
-
Notifications
You must be signed in to change notification settings - Fork 3
FloatProperty
class FloatProperty :
ForgeryProperty
<
Float
>
This class implements a ReadOnlyProperty, forging a random float within a given range.
min
- the minimum value (inclusive), default = -Float#MAX_VALUE
max
- the maximum value (exclusive), default = Float#MAX_VALUE
FloatProperty(min:
Float
= -Float.MAX_VALUE, max:
Float
= Float.MAX_VALUE)
This class implements a ReadOnlyProperty, forging a random float within a given range.
min
- the minimum value (inclusive), default = -Float#MAX_VALUE
max
- the maximum value (exclusive), default = Float#MAX_VALUE
fun getForgery(forge:
Forge
):
Float
Inheritdoc
fun floatForgery(min:
Float
= -Float.MAX_VALUE, max:
Float
= Float.MAX_VALUE):
ForgeryProperty
<
Float
>
Creates a ReadOnlyProperty that will forge a random float within the given range.
min
- the minimum value (inclusive), default = -Float#MAX_VALUE
max
- the maximum value (exclusive), default = Float#MAX_VALUE
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)