Created
December 15, 2013 20:31
-
-
Save okram/7977744 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
public void testBulkEdgeDerivations() throws Exception { | |
TitanGraph g = generateTitanGraph(); | |
bulkLoadGraphOfTheGods(); | |
FaunusGraph f = generateFaunusGraph(TitanCassandraOutputFormat.class.getResourceAsStream("cassandra-cassandra.properties")); | |
new FaunusPipeline(f).V().as("x").out("father").out("father").linkIn("grandfather", "x").submit(); | |
assertEquals(12, new GremlinPipeline(g).V().count()); | |
assertEquals(18, new GremlinPipeline(g).E().count()); | |
assertTrue(PipeHelper.areEqual( | |
new GremlinPipeline(g).V("name", "hercules").out("father").out("father"), | |
new GremlinPipeline(g).V("name", "hercules").out("grandfather"))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment