public class Floats extends RealNumbers<Float>
Float
s.Constructor and Description |
---|
Floats(ComparisonStrategy comparisonStrategy) |
Modifier and Type | Method and Description |
---|---|
protected Float |
absDiff(Float actual,
Float other) |
static Floats |
instance()
Returns the singleton instance of this class based on
StandardComparisonStrategy . |
protected Float |
NaN() |
protected Float |
one() |
protected Float |
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 Floats(ComparisonStrategy comparisonStrategy)
public static Floats instance()
StandardComparisonStrategy
.StandardComparisonStrategy
.protected Float NaN()
NaN
in class RealNumbers<Float>
Copyright © 2014–2019 AssertJ. All rights reserved.