public void GremlinTakeEWithTDataShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE<object>().GremlinTake<object>(5); Assert.IsInstanceOf<GremlinRelationshipEnumerable<object>>(query); Assert.AreEqual("g.v(p0).outE.take(p1)._()", query.QueryText); Assert.AreEqual(123, query.QueryParameters["p0"]); Assert.AreEqual(5, query.QueryParameters["p1"]); }
public void GremlinSkipEShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE().GremlinSkip(5); Assert.IsInstanceOf<GremlinRelationshipEnumerable>(query); Assert.AreEqual("g.v(p0).outE.drop(p1)._()", query.QueryText); Assert.AreEqual(123, query.QueryParameters["p0"]); Assert.AreEqual(5, query.QueryParameters["p1"]); }
public void GremlinTakeEWithTDataShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE <object>().GremlinTake <object>(5); Assert.IsInstanceOf <GremlinRelationshipEnumerable <object> >(query); Assert.AreEqual("g.v(p0).outE.take(p1)._()", query.QueryText); Assert.AreEqual(123, query.QueryParameters["p0"]); Assert.AreEqual(5, query.QueryParameters["p1"]); }
public void GremlinSkipEShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE().GremlinSkip(5); Assert.IsInstanceOf <GremlinRelationshipEnumerable>(query); Assert.AreEqual("g.v(p0).outE.drop(p1)._()", query.QueryText); Assert.AreEqual(123, query.QueryParameters["p0"]); Assert.AreEqual(5, query.QueryParameters["p1"]); }
public void GremlinTakeEShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE().GremlinTake(5); Assert.IsAssignableFrom <GremlinRelationshipEnumerable>(query); Assert.Equal("g.v(p0).outE.take(p1)._()", query.QueryText); Assert.Equal(123L, query.QueryParameters["p0"]); Assert.Equal(5, query.QueryParameters["p1"]); }
public void GremlinSkipEWithTDataShouldAppendStep() { var node = new NodeReference(123); var query = node.OutE <object>().GremlinSkip <object>(5); Assert.IsAssignableFrom <GremlinRelationshipEnumerable <object> >(query); Assert.Equal("g.v(p0).outE.drop(p1)._()", query.QueryText); Assert.Equal(123L, query.QueryParameters["p0"]); Assert.Equal(5, query.QueryParameters["p1"]); }