func value()

in Sources/_CollectionsTestSupport/MinimalTypes/MinimalSequence.swift [29:40]


  func value(forCount count: Int) -> Int {
    switch self {
    case .precise:
      return count
    case .half:
      return count / 2
    case .overestimate:
      return count * 3 + 5
    case .value(let count):
      return count
    }
  }