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

17 lines
320 B
Swift

final class TermTests: XCTestCase {
override static func setUp() {
sranddev()
}
func testEqualityIsReflexive() {
property("equality is reflexive") <- forAll { (term: RangedTerm) in
Cofree.equals(annotation: ==, leaf: ==)(term.term, term.term)
}
}
}
@testable import Doubt
import SwiftCheck
import XCTest