/** * Creates a matcher of {@link Double}s that matches when an examined double is not a number. * For example: * <pre>assertThat(Double.NaN, is(notANumber()))</pre> */ public static Matcher<Double> notANumber() { return new IsNaN(); } }
/** * Creates a matcher of {@link Double}s that matches when an examined double is not a number. * For example: * <pre>assertThat(Double.NaN, is(notANumber()))</pre> */ public static Matcher<Double> notANumber() { return new IsNaN(); } }
/** * Creates a matcher of {@link Double}s that matches when an examined double is not a number. * For example: * <pre>assertThat(Double.NaN, is(notANumber()))</pre> */ public static Matcher<Double> notANumber() { return new IsNaN(); } }