public static boolean safeRangeEquals(final Range<Comparable<?>> sourceRange, final Range<Comparable<?>> targetRange) {
        Class<?> clazz = getRangeTargetNumericType(sourceRange, targetRange);
        if (null == clazz) {
            return sourceRange.equals(targetRange);
        }
        Range<Comparable<?>> newSourceRange = createTargetNumericTypeRange(sourceRange, clazz);
        Range<Comparable<?>> newTargetRange = createTargetNumericTypeRange(targetRange, clazz);
        return newSourceRange.equals(newTargetRange);
    }
@Test
    void assertSafeRangeEqualsForDouble() {
        assertTrue(SafeNumberOperationUtils.safeRangeEquals(Range.greaterThan(1.1), Range.greaterThan(BigDecimal.valueOf(1.1))));
    }