TINKERPOP-1857 Got range() GLV tests all in place

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1c4a311e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1c4a311e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1c4a311e

Branch: refs/heads/TINKERPOP-1857
Commit: 1c4a311e6a544d109fd8bd2c3d83d61301476c99
Parents: 6e70ef9
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 24 08:08:10 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Feb 9 14:30:58 2018 -0500

----------------------------------------------------------------------
 gremlin-test/features/filter/Range.feature | 30 ++++++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1c4a311e/gremlin-test/features/filter/Range.feature
----------------------------------------------------------------------
diff --git a/gremlin-test/features/filter/Range.feature 
b/gremlin-test/features/filter/Range.feature
index 42e2f9a..066960a 100644
--- a/gremlin-test/features/filter/Range.feature
+++ b/gremlin-test/features/filter/Range.feature
@@ -90,7 +90,7 @@ Feature: Step - range()
       | v[peter] |
     And the result should have a count of 2
 
-  Scenario: get_g_VX1X_outXcreatedX_inEXcreatedX_rangeX1_3X_outV
+  Scenario: g_VX1X_outXcreatedX_inEXcreatedX_rangeX1_3X_outV
     Given the modern graph
     And using the parameter v1Id defined as "v[marko].id"
     And the traversal of
@@ -105,7 +105,7 @@ Feature: Step - range()
       | v[peter] |
     And the result should have a count of 2
 
-  Scenario: get_g_V_repeatXbothX_timesX3X_rangeX5_11X
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
     Given the modern graph
     And the traversal of
       """
@@ -225,4 +225,28 @@ Feature: Step - range()
     Then the result should be unordered
       | result |
       | m[{"b":"josh"}] |
-      | m[{"b":"josh"}] |
\ No newline at end of file
+      | m[{"b":"josh"}] |
+
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
+    Given the modern graph
+    And the traversal of
+      """
+      g.V().repeat(both()).times(3).range(5, 11)
+      """
+    When iterated to list
+    Then the result should be ordered
+      | result |
+      | d[6].l |
+
+  Scenario: g_V_repeatXbothX_timesX3X_rangeX5_11X
+    Given the modern graph
+    And using the parameter v1Id defined as "v[marko].id"
+    And the traversal of
+      """
+      g.V(v1Id).out("created").inE("created").range(1, 3).outV()
+      """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | v[marko] |
+      | v[ripple] |
\ No newline at end of file

Reply via email to