[
https://issues.apache.org/jira/browse/TINKERPOP-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119904#comment-16119904
]
ASF GitHub Bot commented on TINKERPOP-1742:
-------------------------------------------
Github user okram commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/687#discussion_r132184141
--- Diff:
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/CountStrategyTest.java
---
@@ -95,6 +95,7 @@
{__.filter(__.bothE().count().is(gte(1))),
__.filter(__.bothE())},
{__.filter(__.bothE().count().is(gt(1))),
__.filter(__.bothE().limit(2).count().is(gt(1)))},
{__.filter(__.bothE().count().is(gte(2))),
__.filter(__.bothE().limit(2).count().is(gte(2)))},
+ {__.and(__.out().count().is(0), __.in().count().is(0)),
__.and(__.not(__.out()), __.not(__.in()))}
});
--- End diff --
Perhaps one more test using both `and()` and `or()` and another pattern
such as `is(gt(1))`?
> RangeByIsCountStrategy fails for ConnectiveSteps
> ------------------------------------------------
>
> Key: TINKERPOP-1742
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1742
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.2.5
> Reporter: Daniel Kuppitz
> Assignee: Daniel Kuppitz
>
> {noformat}
> gremlin> g.V().
> ......1> and(
> ......2> out().count().is(eq(0)),
> ......3> __.in().count().is(eq(0))
> ......4> )
> Index: -1, Size: 2
> Type ':help' or ':h' for help.
> Display stack trace? [yN]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)