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:
parent
6430f0222e
commit
7a9a97ed03
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user