Closed Iltotore closed 1 year ago
@Iltotore Should the instances for StrictEqual
be removed as well?
inline given jBigDecimalDouble[V <: Float | Double]: StrictEqualConstraint[java.math.BigDecimal, V] with
override inline def test(value: java.math.BigDecimal): Boolean =
value == java.math.BigDecimal.valueOf(doubleValue[V])
inline given jBigDecimalLong[V <: Int | Long]: StrictEqualConstraint[java.math.BigDecimal, V] with
override inline def test(value: java.math.BigDecimal): Boolean =
value == java.math.BigDecimal.valueOf(longValue[V])
inline given jBigInteger[V <: Int | Long]: StrictEqualConstraint[java.math.BigInteger, V] with
override inline def test(value: java.math.BigInteger): Boolean =
value == java.math.BigInteger.valueOf(longValue[V])
@Iltotore Should the instances for
StrictEqual
be removed as well?
Good catch. Yes they should.
Closes #145