Package org.assertj.core.internal
Class Doubles
Reusable assertions for
Double
s.-
Field Summary
FieldsFields inherited from class org.assertj.core.internal.Comparables
failures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Double
static Doubles
instance()
Returns the singleton instance of this class based onStandardComparisonStrategy
.protected boolean
protected boolean
isInfinite
(Double value) protected boolean
protected boolean
isNotFinite
(Double value) protected boolean
isNotInfinite
(Double value) protected Double
NaN()
protected Double
one()
protected Double
zero()
Methods inherited from class org.assertj.core.internal.RealNumbers
absBigDecimalDiff, assertIsFinite, assertIsInfinite, assertIsNaN, assertIsNotFinite, assertIsNotInfinite, assertIsNotNaN, isGreaterThan, isNanOrInfinite
Methods inherited from class org.assertj.core.internal.Numbers
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualTo
Methods inherited from class org.assertj.core.internal.Comparables
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsAfter, assertIsAfterOrEqualTo, assertIsBefore, assertIsBeforeOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, equals, getComparator, hashCode, resetFailures, setFailures, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Doubles
Doubles() -
Doubles
-
-
Method Details
-
instance
Returns the singleton instance of this class based onStandardComparisonStrategy
.- Returns:
- the singleton instance of this class based on
StandardComparisonStrategy
.
-
zero
-
one
-
NaN
- Specified by:
NaN
in classRealNumbers<Double>
-
absDiff
-
isFinite
- Specified by:
isFinite
in classRealNumbers<Double>
-
isNotFinite
- Specified by:
isNotFinite
in classRealNumbers<Double>
-
isInfinite
- Specified by:
isInfinite
in classRealNumbers<Double>
-
isNotInfinite
- Specified by:
isNotInfinite
in classRealNumbers<Double>
-
isNaN
- Specified by:
isNaN
in classRealNumbers<Double>
-