Created
October 3, 2011 15:02
-
-
Save okram/1259303 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// IN TEST SUITE | |
public void testBasicWalk(Pipeline<Vertex,Vertex> pipeline) { | |
int counter = 0; | |
while(pipeline.hasNext()) { | |
Vertex v = pipeline.next(); | |
assertEquals(v.getProperty("type"), "person"); | |
} | |
assertEquals(counter, 5); | |
} | |
// IN GREMLIN GROOVY (DO THE MAPPING FOR SCALA) | |
public void testBasicWalk() { | |
super.testBasicWalk(g.v(1).outE.inV); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment