1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00

Test the start of exploration.

This commit is contained in:
Rob Rix 2015-11-05 10:56:55 -05:00
parent f13d2068ab
commit 1ec85928a3

View File

@ -1,4 +1,7 @@
final class LocationTests: XCTestCase { final class LocationTests: XCTestCase {
func testExplorationOfATermBeginsAtTheExploredTerm() {
assert(term.explore().it, ==, term)
}
} }
@ -13,5 +16,6 @@ private let term: Cofree<String, Int> = Cofree(0, .Indexed([
])) ]))
import Assertions
@testable import Doubt @testable import Doubt
import XCTest import XCTest