1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/prototype/DoubtTests/TermTests.swift

17 lines
320 B
Swift
Raw Normal View History

2015-10-16 23:56:30 +03:00
final class TermTests: XCTestCase {
override static func setUp() {
sranddev()
}
2015-10-17 00:03:18 +03:00
func testEqualityIsReflexive() {
property("equality is reflexive") <- forAll { (term: RangedTerm) in
Cofree.equals(annotation: ==, leaf: ==)(term.term, term.term)
}
}
2015-10-16 23:56:30 +03:00
}
@testable import Doubt
import SwiftCheck
import XCTest