org.test4j.hamcrest.matcher.mockito
类 EqualsWithDelta
java.lang.Object
ext.test4j.hamcrest.BaseMatcher<T>
org.test4j.hamcrest.matcher.mockito.ArgumentMatcher<Number>
org.test4j.hamcrest.matcher.mockito.EqualsWithDelta
- 所有已实现的接口:
- Matcher<Number>, SelfDescribing, Serializable
public class EqualsWithDelta
- extends ArgumentMatcher<Number>
- implements Serializable
- 另请参见:
- 序列化表格
EqualsWithDelta
public EqualsWithDelta(Number value,
Number delta)
matches
public boolean matches(Object actual)
- 从类
ArgumentMatcher 复制的描述
- Returns whether this matcher accepts the given argument.
The method should never assert if the argument doesn't match. It
should only return false.
- 指定者:
- 接口
Matcher<Number> 中的 matches - 指定者:
- 类
ArgumentMatcher<Number> 中的 matches
- 参数:
actual - the argument
- 返回:
- whether this matcher accepts the given argument.
describeTo
public void describeTo(Description description)
- 指定者:
- 接口
SelfDescribing 中的 describeTo - 覆盖:
- 类
ArgumentMatcher<Number> 中的 describeTo
Copyright © 2013. All rights reserved.