tinkerpop/blueprints — Issue #202: GraphTestSuite bug
Author: strickli
Created: 2012-01-12 17:58:02+00:00
State: open

GraphTestSuite.java (from the blueprints-test package), line 185 says:

if (counter + 1 % 2 == 0) {

The modulus binds tighter than the addition, so this test fails for any value of counter other than -1. I'm pretty sure what you meant was:

if ((counter + 1) % 2 == 0) {

Thanks,
-mcs