public class ShouldBeClose
extends org.assertj.core.error.BasicErrorMessageFactory
| Modifier and Type | Method and Description |
|---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldBeClose(Object actual,
Object expected,
Object tolerance)
Creates a new
. |
public static org.assertj.core.error.ErrorMessageFactory shouldBeClose(Object actual, Object expected, Object tolerance)
ShouldBeClose.actual - The actual value in the failed assertion.expected - The expected value to compare to.tolerance - The tolerance of the closeness.ErrorMessageFactory.Copyright © 2015–2017 AssertJ. All rights reserved.