implement reverse v1
This commit is contained in:
parent
5451d07ff5
commit
2bceb9c25f
2 changed files with 19 additions and 2 deletions
|
|
@ -69,10 +69,15 @@ type test struct {
|
|||
func testSet(qs graph.QuadStore) []test {
|
||||
return []test{
|
||||
{
|
||||
message: "out",
|
||||
message: "use out",
|
||||
path: V(qs, "A").Out("follows"),
|
||||
expect: []string{"B"},
|
||||
},
|
||||
{
|
||||
message: "use in",
|
||||
path: V(qs, "B").In("follows"),
|
||||
expect: []string{"A", "C", "D"},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue