public class ShouldNotBeEqualWithinPercentage extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
shouldNotBeEqualWithinPercentage(T actual,
T expected,
Percentage percentage,
T difference)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static <T extends Number> ErrorMessageFactory shouldNotBeEqualWithinPercentage(T actual, T expected, Percentage percentage, T difference)
ShouldNotBeEqualWithinPercentage
.T
- the type of the actual value and the type of values that given Condition
takes.actual
- the actual value in the failed assertion.expected
- the expected value in the failed assertion.percentage
- the given positive percentage.difference
- the effective difference between actual and expected.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.