String str1 = expr.getChildren().get(0).getValue().toString();
String str2 = expr.getChildren().get(1).getValue().toString();
EditDistance dist = new EditDistance(str1, str2);
return String.format("false\n%d difference%s (%d%% similarity)\n%s",
dist.getDistance(), dist.getDistance() == 1 ? "" : "s", dist.getSimilarityInPercent(),
new EditPathRenderer().render(str1, str2, dist.calculatePath()));
}
private String renderAsFailedEqualityComparison(ExpressionInfo expr) {
if (!(Boolean.FALSE.equals(expr.getValue()))) return null;
if (!expr.isEqualityComparison()) return null;