Package org.assertj.core.internal
Class Doubles
Reusable assertions for
Doubles.- Author:
- Drummond Dawson, Alex Ruiz, Joel Costigliola
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Doublestatic Doublesinstance()Returns the singleton instance of this class based onStandardComparisonStrategy.protected booleanprotected booleanisInfinite(Double value) protected booleanprotected booleanisNotFinite(Double value) protected booleanisNotInfinite(Double value) protected DoubleNaN()protected Doubleone()protected Doublezero()Methods inherited from class org.assertj.core.internal.RealNumbers
absBigDecimalDiff, assertIsFinite, assertIsInfinite, assertIsNaN, assertIsNotFinite, assertIsNotInfinite, assertIsNotNaN, isGreaterThan, isNanOrInfiniteMethods inherited from class org.assertj.core.internal.Numbers
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualToMethods 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, toString
-
Constructor Details
-
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:
NaNin classRealNumbers<Double>
-
absDiff
-
isFinite
- Specified by:
isFinitein classRealNumbers<Double>
-
isNotFinite
- Specified by:
isNotFinitein classRealNumbers<Double>
-
isInfinite
- Specified by:
isInfinitein classRealNumbers<Double>
-
isNotInfinite
- Specified by:
isNotInfinitein classRealNumbers<Double>
-
isNaN
- Specified by:
isNaNin classRealNumbers<Double>
-