Comparator tested with all combination.