RangedValue
public struct RangedValue<T> where T : Decodable, T : Encodable, T : Equatable
extension RangedValue: Codable
extension RangedValue: Equatable
-
Declaration
Swift
public var value: T
-
Declaration
Swift
public var max: T
-
Declaration
Swift
public var min: T
-
Declaration
Swift
public static func fixture(_ configure: ((inout RangedValue<Double>) -> Void)? = nil) -> RangedValue<Double>
-
Declaration
Swift
public static func fixture(_ configure: ((inout RangedValue<Int>) -> Void)? = nil) -> RangedValue<Int>