implement reverse v1

This commit is contained in:
Barak Michener 2014-09-01 14:19:47 -04:00
parent 5451d07ff5
commit 2bceb9c25f
2 changed files with 19 additions and 2 deletions

View file

@ -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"},
},
}
}