@Test
    public void shouldReturnHighestCommonNumberNumberInfo() {
        for (final Triplet<Number, Integer, Boolean> q : NUMBER_INFO_CASES) {
            NumberInfo numberInfo = getHighestCommonNumberInfo(false, q.getValue0(), q.getValue0());
            assertEquals(numberInfo.getBits(), (int)q.getValue1());
            assertEquals(numberInfo.getFp(), (boolean)q.getValue2());
        }
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/util/NumberHelperTest.java