mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Add some test fixtures.
This commit is contained in:
parent
b60e3aac24
commit
f13d2068ab
@ -1,4 +1,17 @@
|
||||
final class LocationTests: XCTestCase {
|
||||
}
|
||||
|
||||
|
||||
private let leaf = Cofree(1, .Leaf("a string"))
|
||||
private let term: Cofree<String, Int> = Cofree(0, .Indexed([
|
||||
leaf,
|
||||
Cofree(2, .Leaf("b string")),
|
||||
Cofree(3, .Keyed([
|
||||
"a": Cofree(4, .Leaf("a nested string")),
|
||||
"b": Cofree(5, .Leaf("b nested string")),
|
||||
])),
|
||||
]))
|
||||
|
||||
|
||||
@testable import Doubt
|
||||
import XCTest
|
||||
|
Loading…
Reference in New Issue
Block a user