mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +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