1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Test recursive exploration of branches.

This commit is contained in:
Rob Rix 2015-11-05 11:34:25 -05:00
parent 6430f0222e
commit 7a9a97ed03

View File

@ -31,6 +31,10 @@ final class LocationTests: XCTestCase {
func testCanMoveRightwardsFromLeftmostChildOfLongBranch() {
assert(term.explore().down?.right?.it, ==, leafB)
}
func testCanExploreBranchesDeeply() {
assert(term.explore().down?.right?.right?.down?.it, ==, innerLeafB)
}
}