struct RangedTerm { let term: Cofree> } extension RangedTerm: Arbitrary { static var arbitrary: Gen { return Gen.oneOf([]) } } @testable import Doubt import SwiftCheck