private static void globalStepTest(final ISchemaVersion schemaVersion) throws IOException {
  final Writer output=openOutput(schemaVersion,"comprehensive_promotion",TestType.ADD);
  final HLL hll=newHLL(HLLType.EMPTY);
  initLineAdd(output,hll,schemaVersion);
  for (int i=0; i < 10000; i++) {
    cumulativeAddLine(output,hll,randomLong(),schemaVersion);
  }
  output.flush();
  output.close();
}

private static void globalStepTest ( final ISchemaVersion schemaVersion ) throws IOException { final Writer output = openOutput ( schemaVersion , "comprehensive_promotion" , TestType . ADD ) ; final HLL hll = newHLL ( HLLType . EMPTY ) ; initLineAdd ( output , hll , schemaVersion ) ; for ( int i = 0 ; i < 10000 ; i ++ ) { cumulativeAddLine ( output , hll , randomLong ( ) , schemaVersion ) ; } output . flush ( ) ; output . close ( ) ; }
cumulatively adds random values to an empty hll . format : cumulative add tests : - empty , explicit , sparse , probabilstic addition - empty to explicit promotion - explicit to sparse promotion - sparse to full promotion
