1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 02:58:36 +03:00
semantic/prototype/DoubtTests/RangedTerm.swift

15 lines
217 B
Swift
Raw Normal View History

struct RangedTerm {
let term: Cofree<String, Range<String.Index>>
}
2015-10-16 19:28:49 +03:00
extension RangedTerm: Arbitrary {
static var arbitrary: Gen<RangedTerm> {
return Gen.oneOf([])
}
}
@testable import Doubt
2015-10-16 19:28:49 +03:00
import SwiftCheck