public final class IsNaN extends TypeSafeMatcher<Double>
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(Double item,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matchesSafely(Double item)
Subclasses should implement this.
|
static Matcher<Double> |
notANumber()
Creates a matcher of
Doubles that matches when an examined double is not a number. |
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toStringpublic boolean matchesSafely(Double item)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<Double>public void describeMismatchSafely(Double item, Description mismatchDescription)
TypeSafeMatcherdescribeMismatchSafely in class TypeSafeMatcher<Double>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.Copyright © 2021. All rights reserved.