public class Doubles extends RealNumbers<Double>
Double
s.Constructor and Description |
---|
Doubles(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
protected Double |
absDiff(Double actual,
Double other) |
static Doubles |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy . |
protected Double |
NaN() |
protected Double |
one() |
protected Double |
zero() |
assertIsNaN, assertIsNotNaN, isGreaterThan
areEqual, assertIsBetween, assertIsCloseTo, assertIsCloseToPercentage, assertIsNegative, assertIsNotCloseTo, assertIsNotCloseToPercentage, assertIsNotNegative, assertIsNotPositive, assertIsNotZero, assertIsOne, assertIsPositive, assertIsStrictlyBetween, assertIsZero, isGreaterThanOrEqualTo
areEqual, assertEqual, assertEqualByComparison, assertGreaterThan, assertGreaterThanOrEqualTo, assertIsBetween, assertLessThan, assertLessThanOrEqualTo, assertNotEqual, assertNotEqualByComparison, assertNotNull, checkBoundsValidity, equals, getComparator, hashCode, toString
public Doubles(ComparisonStrategy comparisonStrategy)
public static Doubles instance()
StandardComparisonStrategy
.StandardComparisonStrategy
.protected Double NaN()
NaN
in class RealNumbers<Double>
Copyright © 2014–2019 AssertJ. All rights reserved.