1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

Test that equal terms zip to non-nil.

This commit is contained in:
Rob Rix 2015-10-23 11:46:47 -04:00
parent 0c1905b6f5
commit 11ed1a855d

View File

@ -8,6 +8,12 @@ final class TermTests: XCTestCase {
Cofree.equals(annotation: ==, leaf: ==)(term.term, term.term)
}
}
func testEqualTermsZipCleanly() {
property("equal terms zip to a non-nil value") <- forAll { (term: RangedTerm) in
Cofree.zip(term.term, term.term) != nil
}
}
}