1
import SwiftCheck
2

3
infix operator <~
4

5 1
public func <~(checker: AssertiveQuickCheck, test: @autoclosure @escaping () -> Testable) {
6 1
    return checker <- test
7
}
8

9 0
public func <~(checker: AssertiveQuickCheck, test: () -> Testable) {
10 0
    return checker <- test
11
}
12

13 0
public func <~(checker: ReportiveQuickCheck, test: () -> Testable) {
14 0
    return checker <- test
15
}
16

17 0
public func <~(checker: ReportiveQuickCheck, test: @autoclosure @escaping () -> Testable) {
18 0
    return checker <~ test
19
}

Read our documentation on viewing source code .

Loading