RangedValue

public struct RangedValue<T> where T : Decodable, T : Encodable, T : Equatable
extension RangedValue: Codable
extension RangedValue: Equatable
  • Declaration

    Swift

    public var value: T
  • max

    Declaration

    Swift

    public var max: T
  • min

    Declaration

    Swift

    public var min: T

Fixture

  • 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>