private static boolean hasUncoveredBranch(TestChromosome test,Set<Branch> uncoveredBranches){
  Set<Branch> testCoveredBranches=getCoveredBranches(test);
  for (  Branch b : testCoveredBranches) {
    Branch negate=b.negate();
    if (uncoveredBranches.contains(negate)) {
      return true;
    }
  }
  return false;
}

private static boolean hasUncoveredBranch ( TestChromosome test , Set < Branch > uncoveredBranches ) { Set < Branch > testCoveredBranches = getCoveredBranches ( test ) ; for ( Branch b : testCoveredBranches ) { Branch negate = b . negate ( ) ; if ( uncoveredBranches . contains ( negate ) ) { return true ; } } return false ; }
returns true iff the test reaches a decision ( if / while ) with an uncovered branch
