Reports problems in Comparator.compare() implementations.

The following cases are reported:

Example:

  Comparator<String> lambda = (a, b) -> (a.length() > b.length() ? 0 :
                Math.random() > 0.5 ? (-1) : (1));